Changed Emscripten entry in gamecontroller database to allow sorting by script.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 25 Dec 2014 22:43:17 +0100
changeset 9295 599e7836bb2e
parent 9294 1865bd71ef12
child 9296 905df51500a0
Changed Emscripten entry in gamecontroller database to allow sorting by script.
src/joystick/SDL_gamecontrollerdb.h
--- a/src/joystick/SDL_gamecontrollerdb.h	Thu Dec 25 22:08:48 2014 +0100
+++ b/src/joystick/SDL_gamecontrollerdb.h	Thu Dec 25 22:43:17 2014 +0100
@@ -76,7 +76,8 @@
 #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