aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux/src/native/getDefinitions
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux/src/native/getDefinitions')
-rw-r--r--plugins/linux/src/native/getDefinitions11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/linux/src/native/getDefinitions b/plugins/linux/src/native/getDefinitions
index 1a15fbe..e5d127d 100644
--- a/plugins/linux/src/native/getDefinitions
+++ b/plugins/linux/src/native/getDefinitions
@@ -29,7 +29,7 @@ NR == 1 {
printf("package net.java.games.input;\n\n")
printf("\n");
printf("/**\n * This file is generated from %s please do not edit\n */\n", FILENAME);
- printf("public class NativeDefinitions {\n")
+ printf("class NativeDefinitions {\n")
}
/#define ABS_/ {
printf(" public static final int %s = %s;\n", $2, $3)
@@ -46,6 +46,15 @@ NR == 1 {
/#define BUS_/ {
printf(" public static final int %s = %s;\n", $2, $3)
}
+/#define EV_/ {
+ printf(" public static final int %s = %s;\n", $2, $3)
+}
+/#define FF_/ {
+ printf(" public static final int %s = %s;\n", $2, $3)
+}
+/#define USAGE_/ {
+ printf(" public static final int %s = %s;\n", $2, $3)
+}
END {
printf("}\n");
}