aboutsummaryrefslogtreecommitdiffstats
path: root/libgamepad_get_device_has_button.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-27 16:14:23 +0200
committerMattias Andrée <maandree@kth.se>2022-07-27 18:03:37 +0200
commitaca2a514d4622b4b4a79efbab0cf649b6b6679a9 (patch)
treed5b51ff2f21a1f7117fd5217eedd6a4057c4e218 /libgamepad_get_device_has_button.c
parentm + add controller fingerprint + relay less on libevdev (diff)
downloadlibgamepad-aca2a514d4622b4b4a79efbab0cf649b6b6679a9.tar.gz
libgamepad-aca2a514d4622b4b4a79efbab0cf649b6b6679a9.tar.bz2
libgamepad-aca2a514d4622b4b4a79efbab0cf649b6b6679a9.tar.xz
Add inline functions for testing support
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libgamepad_get_device_has_button.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgamepad_get_device_has_button.c b/libgamepad_get_device_has_button.c
new file mode 100644
index 0000000..803c8b6
--- /dev/null
+++ b/libgamepad_get_device_has_button.c
@@ -0,0 +1,5 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+extern inline int libgamepad_get_device_has_button(const struct libgamepad_device *, uint16_t);