aboutsummaryrefslogtreecommitdiffstats
path: root/libgamepad_relative_axis_names__.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-26 16:01:13 +0200
committerMattias Andrée <maandree@kth.se>2022-07-26 16:02:05 +0200
commit9de0de4d3d32ab97226fa9868de1fa2290120429 (patch)
tree292473831841529716f97565391303fb9b071c15 /libgamepad_relative_axis_names__.c
parentUpdate information about Sixaxis (diff)
downloadlibgamepad-9de0de4d3d32ab97226fa9868de1fa2290120429.tar.gz
libgamepad-9de0de4d3d32ab97226fa9868de1fa2290120429.tar.bz2
libgamepad-9de0de4d3d32ab97226fa9868de1fa2290120429.tar.xz
Do not relay on libevdev for button/axis names, an prepare for device specific names, and add reverse lookup functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamepad_relative_axis_names__.c')
-rw-r--r--libgamepad_relative_axis_names__.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libgamepad_relative_axis_names__.c b/libgamepad_relative_axis_names__.c
new file mode 100644
index 0000000..2a9ceec
--- /dev/null
+++ b/libgamepad_relative_axis_names__.c
@@ -0,0 +1,7 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+const char *libgamepad_relative_axis_names__[] = {
+#include "relative-axis.names"
+};