diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-27 16:14:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-27 18:03:37 +0200 |
commit | aca2a514d4622b4b4a79efbab0cf649b6b6679a9 (patch) | |
tree | d5b51ff2f21a1f7117fd5217eedd6a4057c4e218 /libgamepad_get_device_has_button.c | |
parent | m + add controller fingerprint + relay less on libevdev (diff) | |
download | libgamepad-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.c | 5 |
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); |