SFML community forums

Help => General => Topic started by: Memikk on October 10, 2018, 02:01:17 pm

Title: Failed to set DirectInput device axis mode: 1
Post by: Memikk 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.
Title: Re: Failed to set DirectInput device axis mode: 1
Post by: eXpl0it3r 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"?
Title: Re: Failed to set DirectInput device axis mode: 1
Post by: Memikk 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.