aboutsummaryrefslogtreecommitdiff
path: root/src/apple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/apple.c')
-rw-r--r--src/apple.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apple.c b/src/apple.c
index 8e00a84..71f1dc3 100644
--- a/src/apple.c
+++ b/src/apple.c
@@ -303,7 +303,8 @@ EvdevAppleInitProperty(DeviceIntPtr dev)
enum fkeymode fkeymode;
if (!product_check(apple_keyboard_table,
- pEvdev->id_vendor, pEvdev->id_product))
+ libevdev_get_id_vendor(pEvdev->dev),
+ libevdev_get_id_product(pEvdev->dev)))
return;
fkeymode = get_fnmode();