MickGyver / DaemonBite-Arcade-Encoder

An arcade controller project for the MiSTer FPGA project and any other device accepting USB HID joysticks. Up to 12 buttons are supported. Can also be used to create NeoGeo/Atari/Commodore/Amiga controller to USB adapters.
GNU General Public License v3.0
283 stars 48 forks source link

[FR] switchable Xinput mode #13

Closed eadmaster closed 1 year ago

eadmaster commented 3 years ago

not sure if doable, btw some commercial controllers allow you to switch from XInput<->DInput mode for better compatibility with newer/older games.

Another reason to switch back to DInput is to have lower latencies as suggested here.

sigboe commented 3 years ago

The Daemonbite arcade encoder has an average latency of 0.758 ms, with standard deviation of 0.289. In a 60fps game this gives a same frame probability of 95.45% This is tested by Porkchop Express from https://misteraddons.com (input latency in the top menu as source)

I dont think there is anything to get from switching to dinput, but have you looked at this line? https://github.com/MickGyver/DaemonBite-Arcade-Encoder/blob/master/DaemonBiteArcadeEncoder/DaemonBiteArcadeEncoder.ino#L26