Skip to content
  • Jari Hämäläinen's avatar
    input_retro: always use hat1 for d-pad in joystick configure · 3d612fb1
    Jari Hämäläinen authored
    Joystick device's configure used hat1 + n, n being index of currently
    configured joystick, for d-pad. Because of this in Batocera.linux
    running on rk3399 arm board d-pad didn't work except for the first
    player when using two Logitech gamepads. Interestingly this did not
    happen on x86 linux desktop where same gamepads worked correctly without
    this patch and I have no idea why.
    
    Fixed by using hat1 for all configured joystick devices. D-pad mapping
    still works correctly for two gamepads on x86 linux desktop too.
    3d612fb1