TeamRizu / OutFox

The Bug Reporting Repository for OutFox LTS 0.4, Alpha V and Steam Early Access Builds
https://projectoutfox.com
Apache License 2.0
187 stars 3 forks source link

[BUG] Game maps any Arduino to StepManiaX controller #374

Closed SugoiFactory closed 3 years ago

SugoiFactory commented 3 years ago

OS: Windows 10

CPU: Core i5-9300H

GPU: NVIDIA GeForce GTX 1650

Storage: 256GB NVMe SSD

Please give your StepMania Info

StepMania Version: Project OutFox 5.3 Alpha 4.9.8 Theme: Simply Love v5.0.1

Describe the problem

When plugging in an Arduino, the game recognizes it as a StepManiaX controller and only allows for certain inputs to be valid, which will then be mapped to "DPad Up", "DPad Left", etc. instead of as individual button numbers. Any inputs that are not pre-mapped for a StepManiaX controller are ignored and not allowed to be set in options.

Describe what should happen

This greatly reduces possible usage of custom controllers using an Arduino for sending inputs. Earlier versions of StepMania simply recognized an Arduino as an Arduino and mapped all these inputs as "B11", "B12", etc. and it would be preferable if something like that functionality were preserved, or if there was an option to NOT recognize it as a StepManiaX controller.

Scraticus commented 3 years ago

What input system are you using? XInput or Legacy? and can you provide your logs please?

SugoiFactory commented 3 years ago

The logs don't seem to be producing anything when I configure or test my inputs. How do I check or set my input system?

Scraticus commented 3 years ago

Not what I asked for, but ok.

Can you post them so I can actually help you?

SugoiFactory commented 3 years ago

info.txt log.txt userlog.txt

Scraticus commented 3 years ago

Ok, you're using XInput, so it's likely the SMX pads are using a similar device structure to the Arduino.

You can fix this by going to the experimental options and selecting 'legacy' it'll give you back the freedom to tinker.

I also tried one of my arduinos, and this code came up for that as well, so they must be using the common HID library which is sending a known PID/VID

SugoiFactory commented 3 years ago

I can confirm that legacy input works with the Arduino as expected.