diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-25 12:35:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-25 12:35:05 +0200 |
commit | 41ae3f04fd22d22c552742458344591061822884 (patch) | |
tree | 00ef785370327ebf578efa49a38c430523c4924a /test-details.c | |
parent | Add test-visual (diff) | |
download | libgamepad-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.c | 2 |
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++) { |