diff options
author | Ulrich Dangel <uli@spamt.net> | 2009-04-28 16:23:51 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-04-29 11:55:18 +0200 |
commit | 2feaace40e5c3133fea795333402f30929a200d9 (patch) | |
tree | 9f1cbc2e9c586a6415f14549c9770fa652d5e72c /drivers | |
parent | 243b706d8a71364ad6080328d45b73516c8af5f3 (diff) |
HID: Fix the support for apple mini aluminium keyboard
Quirks for the apple mini keyboard was recently added but keyboard
was recognized as a powerbook keyboard. Adjusted boundary to the lowest
product id for the apple mini keyboard to get the right translation.
Signed-off-by: Ulrich Dangel <uli@spamt.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hid/hid-apple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c index 7359d9d88e4..acbce5745b0 100644 --- a/drivers/hid/hid-apple.c +++ b/drivers/hid/hid-apple.c @@ -151,7 +151,7 @@ static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, if (fnmode) { int do_translate; - trans = apple_find_translation((hid->product < 0x220 || + trans = apple_find_translation((hid->product < 0x21d || hid->product >= 0x300) ? powerbook_fn_keys : apple_fn_keys, usage->code); |