Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permanent save for xinput #1 #2 #3 #4 possible? #220

Open
Trihy opened this issue Jul 3, 2024 · 2 comments
Open

Permanent save for xinput #1 #2 #3 #4 possible? #220

Trihy opened this issue Jul 3, 2024 · 2 comments

Comments

@Trihy
Copy link

Trihy commented Jul 3, 2024

I´d noticed when launching demulshooter gui, if a controller previously saved is turned off or if it changes Windows ID, it will be empty again on demulshoooter gui P1, P2, P3 or P4 config.

Can we have a way to set xinput as numbers? As many other emulators do. I mean set xinput0, xinput1, xinput2, xinput3, to P1, P2, P3 ,P4 no matter what kind of controller you connect, always will be number based as long as is reported as xinput # by the system.

Thanks

@argonlefou
Copy link
Owner

argonlefou commented Jul 3, 2024

Xinput, as a protocol, has been removed from DemulShooter in 2020 to be replaced by a generic HID protocol that allows me to handle any kind of devices (touchscreen, analog guns, and also gamepads by extension)

There was also a lot of troubles for me with Xinput as the core of the program - made at the very start to handle lightguns - was not compatible with the way Xinput is working.

So now, there is unfortunately no link at all between a choosen device and if it is Xinput-related or not, so I can't permanently save a setting like Xinput ID because there's no way to address it in the current program

I'm not closing the ticket because it may be a valuable idea if I someday change again the very core of DemulShooter, but for now the device ID ( and what I can get from Windows with it) is still the key item to be able to get valuable data from most of the existing devices out there

@Trihy
Copy link
Author

Trihy commented Jul 3, 2024

Thanks. I just noticed my devices (Touchmote xinput emulated devices) were always empty on demulshooter gui, so every time I use a game I need to re select them. It remembers some Mame behavior where starting with xinput controller off, will make the settings for the controller go away. It doesnt should be Id based, it should just always take the first xinput controller reported by the system as # 1

Thanks for such valuable information. Let´s see if some ideas surface in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants