Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Failed to set DirectInput device axis mode: 1  (Read 1882 times)

0 Members and 1 Guest are viewing this topic.

Memikk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Failed to set DirectInput device axis mode: 1
« on: October 10, 2018, 02:01:17 pm »
My console is constantly printing "Failed to set DirectInput device axis mode: 1" even when running starting program from SFML tutorial. I checked if it detects any joysticks and it doesn't so I don't know where is it coming from. I think it happens from the sf::Joystick::update() function.

I am using SFML 2.5 and Visual Studio Community 2017.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Failed to set DirectInput device axis mode: 1
« Reply #1 on: October 10, 2018, 05:52:21 pm »
Related thread: https://www.reddit.com/r/sfml/comments/9mp5f6/failed_to_set_directinput_device_axis_mode_1/

So what device have you installed that register themselves as joystick with the name "No Joystick"?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Memikk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Failed to set DirectInput device axis mode: 1
« Reply #2 on: October 10, 2018, 08:07:24 pm »
It says "No joystick" because there is no joystick connected. I checked with the sf::Joystick::isConnected() method.