Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: bionictoothpick on December 26, 2019, 07:17:25 PM

Title: New Computer/New Problem
Post 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...
Title: Re: New Computer/New Problem
Post by: bionictoothpick on December 27, 2019, 03:34:34 AM
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.

Title: Re: New Computer/New Problem
Post by: bionictoothpick on December 28, 2019, 04:33:20 AM
I'm attaching a screenshot...

It just repeats

Failed to set DirectInput device axis mode: 1
Title: Re: New Computer/New Problem
Post by: keilmillerjr on December 28, 2019, 06:36:08 AM
https://github.com/SFML/SFML/blob/80c3bdc23c1874494196bbf8a481a859712ece88/src/SFML/Window/Win32/JoystickImpl.cpp#L623

Try uninstalling any virtual joystick driver?
Title: Re: New Computer/New Problem
Post by: bionictoothpick on December 29, 2019, 04:32:50 AM
Brand new computer, no virtual joystick unless Steam installed one.
Title: Re: New Computer/New Problem
Post by: Neosys on December 29, 2019, 09:38:58 AM
Do you have install directx on your new computer?
Title: Re: New Computer/New Problem
Post by: bionictoothpick on December 30, 2019, 08:26:41 AM
Yes.
Title: Re: New Computer/New Problem
Post by: bionictoothpick on December 30, 2019, 08:49:46 AM
I'll just add, that this is frustrating because I really enjoy attractmode.

I have launchbox/bigbox, but prefer attractmode.
Title: Re: New Computer/New Problem
Post by: bionictoothpick on December 30, 2019, 08:52:00 AM
I think it is the SFML 2.4.1 used in compiling...

https://ph.answers.yahoo.com/question/index?qid=20190411112251AAybeJe


 
Title: Re: New Computer/New Problem
Post by: bionictoothpick on January 01, 2020, 04:34:41 PM
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?
Title: Re: New Computer/New Problem
Post by: bionictoothpick on January 01, 2020, 05:00:50 PM
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.
Title: Re: New Computer/New Problem
Post by: bionictoothpick on January 05, 2020, 05:53:46 PM
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.