Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed unused enumeration and constant from internal header file.
  • Loading branch information
philippwiesemann committed Dec 31, 2014
1 parent 3cfe0ab commit f5fa9a5
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/joystick/emscripten/SDL_sysjoystick_c.h
Expand Up @@ -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
{
Expand Down

0 comments on commit f5fa9a5

Please sign in to comment.