Skip to content
Permalink
Browse files

Fixed handling of the Apple TV remote buttons

The menu button on the remote is the back button
  • Loading branch information
slouken committed Dec 16, 2017
1 parent cc30e1e commit 255362a3eda93b84a1599210bb5fef9ebb255d51
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/joystick/SDL_gamecontrollerdb.h
@@ -219,6 +219,7 @@ static const char *s_ControllerMappings [] =
#if defined(SDL_JOYSTICK_MFI)
"4d466947616d65706164010000000000,MFi Extended Gamepad,a:b0,b:b1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,righttrigger:a5,rightx:a3,righty:a4,start:b6,x:b2,y:b3,",
"4d466947616d65706164020000000000,MFi Gamepad,a:b0,b:b1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,rightshoulder:b5,start:b6,x:b2,y:b3,",
"4d466947616d65706164030000000000,Remote,a:b0,b:b2,leftx:a0,lefty:a1,",
"05000000de2800000511000001000000,Steam Controller,a:b0,b:b1,back:b6,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,righttrigger:a3,start:b7,x:b2,y:b3,",
#endif
#if defined(SDL_JOYSTICK_EMSCRIPTEN)

0 comments on commit 255362a

Please sign in to comment.