aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux')
-rw-r--r--plugins/linux/src/java/net/java/games/input/NativeDefinitions.java102
1 files changed, 99 insertions, 3 deletions
diff --git a/plugins/linux/src/java/net/java/games/input/NativeDefinitions.java b/plugins/linux/src/java/net/java/games/input/NativeDefinitions.java
index 12d3379..b7a17ff 100644
--- a/plugins/linux/src/java/net/java/games/input/NativeDefinitions.java
+++ b/plugins/linux/src/java/net/java/games/input/NativeDefinitions.java
@@ -210,9 +210,27 @@ public class NativeDefinitions {
public static final int KEY_PROG4 = 203;
public static final int KEY_SUSPEND = 205;
public static final int KEY_CLOSE = 206;
- public static final int KEY_UNKNOWN = 220;
+ public static final int KEY_PLAY = 207;
+ public static final int KEY_FASTFORWARD = 208;
+ public static final int KEY_BASSBOOST = 209;
+ public static final int KEY_PRINT = 210;
+ public static final int KEY_HP = 211;
+ public static final int KEY_CAMERA = 212;
+ public static final int KEY_SOUND = 213;
+ public static final int KEY_QUESTION = 214;
+ public static final int KEY_EMAIL = 215;
+ public static final int KEY_CHAT = 216;
+ public static final int KEY_SEARCH = 217;
+ public static final int KEY_CONNECT = 218;
+ public static final int KEY_FINANCE = 219;
+ public static final int KEY_SPORT = 220;
+ public static final int KEY_SHOP = 221;
+ public static final int KEY_ALTERASE = 222;
+ public static final int KEY_CANCEL = 223;
public static final int KEY_BRIGHTNESSDOWN = 224;
public static final int KEY_BRIGHTNESSUP = 225;
+ public static final int KEY_MEDIA = 226;
+ public static final int KEY_UNKNOWN = 240;
public static final int BTN_MISC = 0x100;
public static final int BTN_0 = 0x100;
public static final int BTN_1 = 0x101;
@@ -232,6 +250,7 @@ public class NativeDefinitions {
public static final int BTN_EXTRA = 0x114;
public static final int BTN_FORWARD = 0x115;
public static final int BTN_BACK = 0x116;
+ public static final int BTN_TASK = 0x117;
public static final int BTN_JOYSTICK = 0x120;
public static final int BTN_TRIGGER = 0x120;
public static final int BTN_THUMB = 0x121;
@@ -274,6 +293,79 @@ public class NativeDefinitions {
public static final int BTN_TOUCH = 0x14a;
public static final int BTN_STYLUS = 0x14b;
public static final int BTN_STYLUS2 = 0x14c;
+ public static final int BTN_TOOL_DOUBLETAP = 0x14d;
+ public static final int BTN_TOOL_TRIPLETAP = 0x14e;
+ public static final int BTN_WHEEL = 0x150;
+ public static final int BTN_GEAR_DOWN = 0x150;
+ public static final int BTN_GEAR_UP = 0x151;
+ public static final int KEY_OK = 0x160;
+ public static final int KEY_SELECT = 0x161;
+ public static final int KEY_GOTO = 0x162;
+ public static final int KEY_CLEAR = 0x163;
+ public static final int KEY_POWER2 = 0x164;
+ public static final int KEY_OPTION = 0x165;
+ public static final int KEY_INFO = 0x166;
+ public static final int KEY_TIME = 0x167;
+ public static final int KEY_VENDOR = 0x168;
+ public static final int KEY_ARCHIVE = 0x169;
+ public static final int KEY_PROGRAM = 0x16a;
+ public static final int KEY_CHANNEL = 0x16b;
+ public static final int KEY_FAVORITES = 0x16c;
+ public static final int KEY_EPG = 0x16d;
+ public static final int KEY_PVR = 0x16e;
+ public static final int KEY_MHP = 0x16f;
+ public static final int KEY_LANGUAGE = 0x170;
+ public static final int KEY_TITLE = 0x171;
+ public static final int KEY_SUBTITLE = 0x172;
+ public static final int KEY_ANGLE = 0x173;
+ public static final int KEY_ZOOM = 0x174;
+ public static final int KEY_MODE = 0x175;
+ public static final int KEY_KEYBOARD = 0x176;
+ public static final int KEY_SCREEN = 0x177;
+ public static final int KEY_PC = 0x178;
+ public static final int KEY_TV = 0x179;
+ public static final int KEY_TV2 = 0x17a;
+ public static final int KEY_VCR = 0x17b;
+ public static final int KEY_VCR2 = 0x17c;
+ public static final int KEY_SAT = 0x17d;
+ public static final int KEY_SAT2 = 0x17e;
+ public static final int KEY_CD = 0x17f;
+ public static final int KEY_TAPE = 0x180;
+ public static final int KEY_RADIO = 0x181;
+ public static final int KEY_TUNER = 0x182;
+ public static final int KEY_PLAYER = 0x183;
+ public static final int KEY_TEXT = 0x184;
+ public static final int KEY_DVD = 0x185;
+ public static final int KEY_AUX = 0x186;
+ public static final int KEY_MP3 = 0x187;
+ public static final int KEY_AUDIO = 0x188;
+ public static final int KEY_VIDEO = 0x189;
+ public static final int KEY_DIRECTORY = 0x18a;
+ public static final int KEY_LIST = 0x18b;
+ public static final int KEY_MEMO = 0x18c;
+ public static final int KEY_CALENDAR = 0x18d;
+ public static final int KEY_RED = 0x18e;
+ public static final int KEY_GREEN = 0x18f;
+ public static final int KEY_YELLOW = 0x190;
+ public static final int KEY_BLUE = 0x191;
+ public static final int KEY_CHANNELUP = 0x192;
+ public static final int KEY_CHANNELDOWN = 0x193;
+ public static final int KEY_FIRST = 0x194;
+ public static final int KEY_LAST = 0x195;
+ public static final int KEY_AB = 0x196;
+ public static final int KEY_NEXT = 0x197;
+ public static final int KEY_RESTART = 0x198;
+ public static final int KEY_SLOW = 0x199;
+ public static final int KEY_SHUFFLE = 0x19a;
+ public static final int KEY_BREAK = 0x19b;
+ public static final int KEY_PREVIOUS = 0x19c;
+ public static final int KEY_DIGITS = 0x19d;
+ public static final int KEY_TEEN = 0x19e;
+ public static final int KEY_TWEN = 0x19f;
+ public static final int KEY_DEL_EOL = 0x1c0;
+ public static final int KEY_DEL_EOS = 0x1c1;
+ public static final int KEY_INS_LINE = 0x1c2;
+ public static final int KEY_DEL_LINE = 0x1c3;
public static final int KEY_MAX = 0x1ff;
public static final int REL_X = 0x00;
public static final int REL_Y = 0x01;
@@ -306,11 +398,14 @@ public class NativeDefinitions {
public static final int ABS_DISTANCE = 0x19;
public static final int ABS_TILT_X = 0x1a;
public static final int ABS_TILT_Y = 0x1b;
- public static final int ABS_MISC = 0x1c;
- public static final int ABS_MAX = 0x1f;
+ public static final int ABS_TOOL_WIDTH = 0x1c;
+ public static final int ABS_VOLUME = 0x20;
+ public static final int ABS_MISC = 0x28;
+ public static final int ABS_MAX = 0x3f;
public static final int BUS_PCI = 0x01;
public static final int BUS_ISAPNP = 0x02;
public static final int BUS_USB = 0x03;
+ public static final int BUS_HIL = 0x04;
public static final int BUS_ISA = 0x10;
public static final int BUS_I8042 = 0x11;
public static final int BUS_XTKBD = 0x12;
@@ -320,4 +415,5 @@ public class NativeDefinitions {
public static final int BUS_AMIGA = 0x16;
public static final int BUS_ADB = 0x17;
public static final int BUS_I2C = 0x18;
+ public static final int BUS_HOST = 0x19;
}