mupen64plus / mupen64plus-input-sdl

Input plugin for Mupen64Plus v2.0 project using SDL. This is derived from the original Mupen64 blight_input plugin.
GNU General Public License v2.0
43 stars 70 forks source link

Sony PS4 Controller support for linux #110

Closed aitet closed 2 years ago

aitet commented 2 years ago

The [Sony Interactive Entertainment Wireless Controller] had incompatible bindings. Z was right analog stick up. I made a list of the ps4 buttons: button 0 = cross button 1 = circle button 2 = triangle button 3 = square button 4 = l1 button 5 = r1 button 6 = l2 button 7 = r2 button 8 = share button 9 = options button 10 = ps button 11 = l3 button 12 = r3

axis 0- = lstick left axis 0+ = lstick right axis 1- = lstick up axis 1+ = lstick down axis 2+ = l2 axis 2- = l2 axis 3- = rstick left axis 3+ = rstick right axis 4- = rstick up axis 4+ = rstick down axis 5+ = r2 axis 5- = r2

hat 0 Right = Right hat 0 Left = Left hat 0 Down = Down hat 0 Up = Up