aboutsummaryrefslogtreecommitdiff
path: root/freeciv/files/kbdmouse.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 02:07:27 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 02:07:27 +0100
commit0a95e15cdc87de0136734e784d487f9b03170bbb (patch)
treeadae83e51ba5b78869f51aa43cfe8ebfb762ec41 /freeciv/files/kbdmouse.h
downloadnanonote-ports-0a95e15cdc87de0136734e784d487f9b03170bbb.tar.gz
initial checkin of my nanonote ports feed, including a small README.
Diffstat (limited to 'freeciv/files/kbdmouse.h')
-rw-r--r--freeciv/files/kbdmouse.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/freeciv/files/kbdmouse.h b/freeciv/files/kbdmouse.h
new file mode 100644
index 0000000..a99ba10
--- /dev/null
+++ b/freeciv/files/kbdmouse.h
@@ -0,0 +1,21 @@
+/*
+ *
+ * Keyboard Mouse Emulation Config
+ *
+ */
+
+#include "keyboard.c"
+
+#define KBDMOUSE_LEFT_CLICK NNKEY_QI
+#define KBDMOUSE_MIDDLE_CLICK NNKEY_VOLUMEDOWN
+#define KBDMOUSE_RIGHT_CLICK NNKEY_VOLUMEUP
+
+#define KBDMOUSE_UP NNKEY_UP
+#define KBDMOUSE_DOWN NNKEY_DOWN
+#define KBDMOUSE_LEFT NNKEY_LEFT
+#define KBDMOUSE_RIGHT NNKEY_RIGHT
+
+#define KBDMOUSE_STEP 5
+
+#define KBDMOUSE_REPEAT_DELAY SDL_DEFAULT_REPEAT_DELAY
+#define KBDMOUSE_REPEAT_INTERVAL (SDL_DEFAULT_REPEAT_INTERVAL/2)