(QNX) Input driver - cleanups

This commit is contained in:
twinaphex 2014-06-14 23:12:02 +02:00
parent c1501f7ffe
commit 7b3f0059bc

View File

@ -24,42 +24,6 @@
#define MAX_PADS 8
#ifdef HAVE_BB10
const struct platform_bind platform_keys[] = {
{ SCREEN_A_GAME_BUTTON, "A button" },
{ SCREEN_B_GAME_BUTTON, "B button" },
{ SCREEN_C_GAME_BUTTON, "C button" },
{ SCREEN_X_GAME_BUTTON, "X button" },
{ SCREEN_Y_GAME_BUTTON, "Y button" },
{ SCREEN_Z_GAME_BUTTON, "Z button" },
{ SCREEN_MENU1_GAME_BUTTON, "Menu1 button" },
{ SCREEN_MENU2_GAME_BUTTON, "Menu2 button" },
{ SCREEN_MENU3_GAME_BUTTON, "Menu3 button" },
{ SCREEN_MENU4_GAME_BUTTON, "Menu4 button" },
{ SCREEN_L1_GAME_BUTTON, "L1 Button" },
{ SCREEN_L2_GAME_BUTTON, "L2 Button" },
{ SCREEN_L3_GAME_BUTTON, "L3 Button" },
{ SCREEN_R1_GAME_BUTTON, "R1 Button" },
{ SCREEN_R2_GAME_BUTTON, "R2 Button" },
{ SCREEN_R3_GAME_BUTTON, "R3 Button" },
{ SCREEN_DPAD_UP_GAME_BUTTON, "Up D-pad" },
{ SCREEN_DPAD_DOWN_GAME_BUTTON, "Down D-pad" },
{ SCREEN_DPAD_LEFT_GAME_BUTTON, "Left D-pad" },
{ SCREEN_DPAD_RIGHT_GAME_BUTTON, "Right D-pad" },
};
#endif
enum input_devices
{
DEVICE_NONE,
#ifdef HAVE_BB10
DEVICE_KEYPAD,
#endif
DEVICE_KEYBOARD,
DEVICE_IPEGA,
DEVICE_LAST
};
#ifdef HAVE_BB10
#define MAX_TOUCH 16
#else