diff options
author | Mattias Andrée <maandree@kth.se> | 2023-07-12 18:50:28 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-07-12 18:50:28 +0200 |
commit | a5adfb3ea93da5f62157bc619f9945ed4675e9e2 (patch) | |
tree | 7b784646c66d9293d18ae42e81ff5f372829d7e5 /libgamepad.h | |
parent | Add readme (diff) | |
download | libgamepad-a5adfb3ea93da5f62157bc619f9945ed4675e9e2.tar.gz libgamepad-a5adfb3ea93da5f62157bc619f9945ed4675e9e2.tar.bz2 libgamepad-a5adfb3ea93da5f62157bc619f9945ed4675e9e2.tar.xz |
Let name, unique_id, and physical_location be empty if unavailable
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamepad.h')
-rw-r--r-- | libgamepad.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgamepad.h b/libgamepad.h index cd574b0..f77e16b 100644 --- a/libgamepad.h +++ b/libgamepad.h @@ -1526,17 +1526,23 @@ struct libgamepad_device { /** * Human-readable device (sub- or superdevice) name + * + * Empty if not available */ char *name; /** * ID that is supposted to be unique to the device * (sub- or superdevice) + * + * Empty if not available */ char *unique_id; /** * The location if the device + * + * Empty if not available */ char *physical_location; |