Navigation Menu

Skip to content

Commit

Permalink
Changed Emscripten entry in gamecontroller database to allow sorting …
Browse files Browse the repository at this point in the history
…by script.
  • Loading branch information
philippwiesemann committed Dec 25, 2014
1 parent 2285592 commit f4dcc24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/joystick/SDL_gamecontrollerdb.h
Expand Up @@ -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
Expand Down

0 comments on commit f4dcc24

Please sign in to comment.