Skip to content
Permalink
Browse files

Changed Emscripten entry in gamecontroller database to allow sorting …

…by script.
  • Loading branch information
philippwiesemann committed Dec 25, 2014
1 parent 2285592 commit f4dcc24698cad4e646b8c214db77cba7a086c116
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/joystick/SDL_gamecontrollerdb.h
@@ -76,7 +76,8 @@ static const char *s_ControllerMappings [] =
#endif
#if defined(__ANDROID__)
"4e564944494120436f72706f72617469,NVIDIA Controller,a:b0,b:b1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,",
#elif defined(SDL_JOYSTICK_EMSCRIPTEN)
#endif
#if defined(SDL_JOYSTICK_EMSCRIPTEN)
"emscripten,Standard Gamepad,a:b0,b:b1,x:b2,y:b3,leftshoulder:b4,rightshoulder:b5,lefttrigger:b6,righttrigger:b7,back:b8,start:b9,leftstick:b10,rightstick:b11,dpup:b12,dpdown:b13,dpleft:b14,dpright:b15,guide:b16,leftx:a0,lefty:a1,rightx:a2,righty:a3,",
#endif
NULL

0 comments on commit f4dcc24

Please sign in to comment.