aboutsummaryrefslogtreecommitdiffstats
path: root/libgamepad_get_absolute_axis_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgamepad_get_absolute_axis_info.c')
-rw-r--r--libgamepad_get_absolute_axis_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgamepad_get_absolute_axis_info.c b/libgamepad_get_absolute_axis_info.c
index 307d85a..a5aa4d5 100644
--- a/libgamepad_get_absolute_axis_info.c
+++ b/libgamepad_get_absolute_axis_info.c
@@ -5,5 +5,5 @@
const struct input_absinfo *
libgamepad_get_absolute_axis_info(struct libgamepad_device *device, uint16_t code)
{
- return libevdev_get_abs_info(device->dev, (unsigned int)code);
+ return libevdev_get_abs_info(device->internals->dev, (unsigned int)code);
}