src/joystick/emscripten/SDL_sysjoystick_c.h
changeset 9304 e64d9374f1be
parent 9278 8900afb78a19
child 9343 7f58a328445c
     1.1 --- a/src/joystick/emscripten/SDL_sysjoystick_c.h	Sun Dec 28 22:10:24 2014 +0100
     1.2 +++ b/src/joystick/emscripten/SDL_sysjoystick_c.h	Wed Dec 31 21:00:32 2014 +0100
     1.3 @@ -27,30 +27,6 @@
     1.4  
     1.5  #include <emscripten/html5.h>
     1.6  
     1.7 -typedef enum
     1.8 -{
     1.9 -    EMSCRIPTEN_CONTROLLER_BUTTON_INVALID = -1,
    1.10 -    EMSCRIPTEN_CONTROLLER_BUTTON_A,
    1.11 -    EMSCRIPTEN_CONTROLLER_BUTTON_B,
    1.12 -    EMSCRIPTEN_CONTROLLER_BUTTON_X,
    1.13 -    EMSCRIPTEN_CONTROLLER_BUTTON_Y,
    1.14 -    EMSCRIPTEN_CONTROLLER_BUTTON_L1,
    1.15 -    EMSCRIPTEN_CONTROLLER_BUTTON_R1,
    1.16 -    EMSCRIPTEN_CONTROLLER_BUTTON_L2,
    1.17 -    EMSCRIPTEN_CONTROLLER_BUTTON_R2,
    1.18 -    EMSCRIPTEN_CONTROLLER_BUTTON_BACK,
    1.19 -    EMSCRIPTEN_CONTROLLER_BUTTON_START,
    1.20 -    EMSCRIPTEN_CONTROLLER_BUTTON_LEFTSTICK,
    1.21 -    EMSCRIPTEN_CONTROLLER_BUTTON_RIGHTSTICK,
    1.22 -    EMSCRIPTEN_CONTROLLER_DPAD_UP,
    1.23 -    EMSCRIPTEN_CONTROLLER_DPAD_DOWN,
    1.24 -    EMSCRIPTEN_CONTROLLER_DPAD_LEFT,
    1.25 -    EMSCRIPTEN_CONTROLLER_DPAD_RIGHT,
    1.26 -    EMSCRIPTEN_CONTROLLER_BUTTON_GUIDE,
    1.27 -} Emscripten_GameControllerButton;
    1.28 -
    1.29 -static int EMSCRIPTEN_MAX_NBUTTONS = 18;
    1.30 -
    1.31  /* A linked list of available joysticks */
    1.32  typedef struct SDL_joylist_item
    1.33  {