aboutsummaryrefslogtreecommitdiffstats
path: root/test-details.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-25 12:35:05 +0200
committerMattias Andrée <maandree@kth.se>2022-07-25 12:35:05 +0200
commit41ae3f04fd22d22c552742458344591061822884 (patch)
tree00ef785370327ebf578efa49a38c430523c4924a /test-details.c
parentAdd test-visual (diff)
downloadlibgamepad-41ae3f04fd22d22c552742458344591061822884.tar.gz
libgamepad-41ae3f04fd22d22c552742458344591061822884.tar.bz2
libgamepad-41ae3f04fd22d22c552742458344591061822884.tar.xz
m + add force feedback support
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test-details.c')
-rw-r--r--test-details.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-details.c b/test-details.c
index dfff98f..6ccfbe6 100644
--- a/test-details.c
+++ b/test-details.c
@@ -39,7 +39,7 @@ main(int argc, char *argv[])
assert(gamepad.button_map[gamepad.buttons[i]] == (int16_t)i);
printf("\t%s [pressed=%i]\n",
libgamepad_get_button_name(gamepad.buttons[i]),
- libgamepad_get_button_is_pressed(&gamepad, (unsigned int)gamepad.buttons[i]));
+ libgamepad_get_button_is_pressed(&gamepad, gamepad.buttons[i]));
}
n = 0;
for (i = 0; i < ELEMSOF(gamepad.button_map); i++) {