Removed unused enumeration and constant from internal header file.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 31 Dec 2014 21:00:32 +0100
changeset 9304 e64d9374f1be
parent 9303 b7873b036fe7
child 9305 0c66e0df64f6
Removed unused enumeration and constant from internal header file.
src/joystick/emscripten/SDL_sysjoystick_c.h
--- a/src/joystick/emscripten/SDL_sysjoystick_c.h	Sun Dec 28 22:10:24 2014 +0100
+++ b/src/joystick/emscripten/SDL_sysjoystick_c.h	Wed Dec 31 21:00:32 2014 +0100
@@ -27,30 +27,6 @@
 
 #include <emscripten/html5.h>
 
-typedef enum
-{
-    EMSCRIPTEN_CONTROLLER_BUTTON_INVALID = -1,
-    EMSCRIPTEN_CONTROLLER_BUTTON_A,
-    EMSCRIPTEN_CONTROLLER_BUTTON_B,
-    EMSCRIPTEN_CONTROLLER_BUTTON_X,
-    EMSCRIPTEN_CONTROLLER_BUTTON_Y,
-    EMSCRIPTEN_CONTROLLER_BUTTON_L1,
-    EMSCRIPTEN_CONTROLLER_BUTTON_R1,
-    EMSCRIPTEN_CONTROLLER_BUTTON_L2,
-    EMSCRIPTEN_CONTROLLER_BUTTON_R2,
-    EMSCRIPTEN_CONTROLLER_BUTTON_BACK,
-    EMSCRIPTEN_CONTROLLER_BUTTON_START,
-    EMSCRIPTEN_CONTROLLER_BUTTON_LEFTSTICK,
-    EMSCRIPTEN_CONTROLLER_BUTTON_RIGHTSTICK,
-    EMSCRIPTEN_CONTROLLER_DPAD_UP,
-    EMSCRIPTEN_CONTROLLER_DPAD_DOWN,
-    EMSCRIPTEN_CONTROLLER_DPAD_LEFT,
-    EMSCRIPTEN_CONTROLLER_DPAD_RIGHT,
-    EMSCRIPTEN_CONTROLLER_BUTTON_GUIDE,
-} Emscripten_GameControllerButton;
-
-static int EMSCRIPTEN_MAX_NBUTTONS = 18;
-
 /* A linked list of available joysticks */
 typedef struct SDL_joylist_item
 {