Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: bionictoothpick on December 26, 2019, 07:17:25 PM
-
The joystick is not navigating the attractmode menu.
Running attract-console.exe reveals the following repeated message:
Failed to set DirectInput device axis mode: 1
This issue is not yet fixed, but a workaround is to hide the joysticks using this program: https://github.com/briankendall/devreorder
And remap them using antimicro https://github.com/AntiMicro/antimicro.
BTW antimicro is the best all-in-one solution I've used for remapping controllers to keyboard. It can detect running programs...
-
If I go back to version 2.2.1-win64 the joystick will work. Something seems to have changed when it was made as a gui app.
-
I'm attaching a screenshot...
It just repeats
Failed to set DirectInput device axis mode: 1
-
https://github.com/SFML/SFML/blob/80c3bdc23c1874494196bbf8a481a859712ece88/src/SFML/Window/Win32/JoystickImpl.cpp#L623
Try uninstalling any virtual joystick driver?
-
Brand new computer, no virtual joystick unless Steam installed one.
-
Do you have install directx on your new computer?
-
Yes.
-
I'll just add, that this is frustrating because I really enjoy attractmode.
I have launchbox/bigbox, but prefer attractmode.
-
I think it is the SFML 2.4.1 used in compiling...
https://ph.answers.yahoo.com/question/index?qid=20190411112251AAybeJe
-
If I disable the joysticks I don't get the error...
Here is where they are located in device manager:
Any ideas on a fix?
-
I have a device that is registering itself as a joystick that isn't a joystick when I launch attractmode...look at this registry entry before and after executing attractmode.
-
I found a wrapper that will prevent the joysticks from being detected, and then I can use antimicro to send keys for using the newer version...or vjoy as a feeder...so there is a workaround, but not a viable permanent solution.