aboutsummaryrefslogtreecommitdiffstats
path: root/libgamepad.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-25 13:23:08 +0200
committerMattias Andrée <maandree@kth.se>2022-07-25 13:23:08 +0200
commitedf5cfe55690b717ae16513519a6b5c3a7a222d0 (patch)
tree2c7ca59430ec9d1de382a3124a1d82dd901dc85a /libgamepad.h
parentm + add force feedback support (diff)
downloadlibgamepad-edf5cfe55690b717ae16513519a6b5c3a7a222d0.tar.gz
libgamepad-edf5cfe55690b717ae16513519a6b5c3a7a222d0.tar.bz2
libgamepad-edf5cfe55690b717ae16513519a6b5c3a7a222d0.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamepad.h')
-rw-r--r--libgamepad.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgamepad.h b/libgamepad.h
index 665e012..5b6c46c 100644
--- a/libgamepad.h
+++ b/libgamepad.h
@@ -190,22 +190,22 @@ struct libgamepad_device {
* Bus type the device is connect via, see BUS_-prefixed
* constants in <linux/input.h>
*/
- int bus_type;
+ unsigned int bus_type;
/**
* Vendor ID for the device (sub- or superdevice)
*/
- int vendor;
+ unsigned int vendor;
/**
* Product ID for the device (sub- or superdevice)
*/
- int product;
+ unsigned int product;
/**
* Product version ID for the device (sub- or superdevice)
*/
- int version;
+ unsigned int version;
/**
* FOR INTERNAL USE