azihassan / devilutionX

Diablo build for modern operating systems
Other
4 stars 1 forks source link

Analog stick and button mapping #5

Open azihassan opened 1 week ago

azihassan commented 1 week ago

Adding support for the analog stick would allow for the D-pad buttons to be mapped to other types of functionality. I already attempted it here, and even though the relevant logs do show up in the console, the events don't register in the settings menu.

It also looks like the X and Y (or A and B) buttons are flipped in the settings menu (button presses produce the wrong event value). These were defined here: https://github.com/azihassan/devilutionX/blob/eed507a2d6722b5fcfde4046591b58b8d816d7dc/CMake/platforms/dreamcast.cmake#L38