-
Notifications
You must be signed in to change notification settings - Fork 13
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
No support for controllers that use two bytes for DPAD #23
Comments
Do you have example values? |
I have been trying to make a controller INI for the Adaptoid N64 to HID device adapter. It uses 12bit signed values for each axis and joins them into 3 bytes. This works perfectly without drivers on Windows and macOS, but sadly controller_patcher does not appear to handle this. I bought this Adaptoid device when UltraHLE emulator first came out in 1999, so it would be cool to be able to carry on using it on a modern console 25 years later, especially to play N64 Virtual Console titles. Here is the HID descriptor for this device:
Which according to https://eleccelerator.com/usbdescreqparser/ parses as:
X and Y axis values are signed 12bit little endian values. I measured the following results during joystick movements in HIDtest, which are consistent with the HID descriptor:
|
I raised a PR to add support for axis inputs up to 16bit, signed values, and non-byte-aligned values: I now realise that OP was asking about DPAD though, not axis values. |
The MAYFLASH Genesis USB adapter uses two bytes for each DPAD direction
The text was updated successfully, but these errors were encountered: