diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-26 16:10:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-26 16:14:00 +0200 |
commit | 08184b90b04961086e7b00650651188a9652a0c5 (patch) | |
tree | 204dd698fd9efb83955ad58506018591cc56ca59 /common.h | |
parent | Do not relay on libevdev for button/axis names, an prepare for device specific names, and add reverse lookup functions (diff) | |
download | libgamepad-08184b90b04961086e7b00650651188a9652a0c5.tar.gz libgamepad-08184b90b04961086e7b00650651188a9652a0c5.tar.bz2 libgamepad-08184b90b04961086e7b00650651188a9652a0c5.tar.xz |
Hide implementation details
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -30,6 +30,13 @@ struct libgamepad_attachment_monitor { }; +struct libgamepad_device_internals { + int close_fd; + int require_sync; + struct libevdev *dev; +}; + + extern const char *libgamepad_button_names__[ #include "button.count" ]; |