diff options
Diffstat (limited to '')
-rw-r--r-- | libgamepad_get_button_is_pressed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgamepad_get_button_is_pressed.c b/libgamepad_get_button_is_pressed.c index 2e61297..e3c0265 100644 --- a/libgamepad_get_button_is_pressed.c +++ b/libgamepad_get_button_is_pressed.c @@ -5,5 +5,5 @@ int libgamepad_get_button_is_pressed(struct libgamepad_device *device, uint16_t code) { - return libevdev_get_event_value(device->dev, EV_KEY, (unsigned int)code); + return libevdev_get_event_value(device->internals->dev, EV_KEY, (unsigned int)code); } |