aboutsummaryrefslogtreecommitdiffstats
path: root/test-details.c
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 /test-details.c
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 'test-details.c')
-rw-r--r--test-details.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test-details.c b/test-details.c
index 6ccfbe6..420e007 100644
--- a/test-details.c
+++ b/test-details.c
@@ -24,10 +24,10 @@ main(int argc, char *argv[])
return 1;
}
- printf("Bus type: %i\n", gamepad.bus_type);
- printf("Vendor: %i\n", gamepad.vendor);
- printf("Product: %i\n", gamepad.product);
- printf("Version: %i\n", gamepad.version);
+ printf("Bus type: %u\n", gamepad.bus_type);
+ printf("Vendor: %u\n", gamepad.vendor);
+ printf("Product: %u\n", gamepad.product);
+ printf("Version: %u\n", gamepad.version);
printf("Name: %s\n", gamepad.name);
printf("Unique id: %s\n", gamepad.unique_id);
printf("Physical location: %s\n", gamepad.physical_location);