diff options
Diffstat (limited to 'usr/src/dkms_source_tree/patches/10-expose-and-dashboard.patch')
| -rw-r--r-- | usr/src/dkms_source_tree/patches/10-expose-and-dashboard.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usr/src/dkms_source_tree/patches/10-expose-and-dashboard.patch b/usr/src/dkms_source_tree/patches/10-expose-and-dashboard.patch new file mode 100644 index 0000000..de64ac1 --- /dev/null +++ b/usr/src/dkms_source_tree/patches/10-expose-and-dashboard.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c | ||
| 2 | --- a/drivers/hid/hid-input.c | ||
| 3 | +++ b/drivers/hid/hid-input.c | ||
| 4 | @@ -98,10 +98,11 @@ static struct hidinput_key_translation apple_fn_keys[] = { | ||
| 5 | |||
| 6 | static struct hidinput_key_translation apple_fn_keys[] = { | ||
| 7 | { KEY_BACKSPACE, KEY_DELETE }, | ||
| 8 | + { KEY_ENTER, KEY_INSERT }, | ||
| 9 | { KEY_F1, KEY_BRIGHTNESSDOWN, APPLE_FLAG_FKEY }, | ||
| 10 | { KEY_F2, KEY_BRIGHTNESSUP, APPLE_FLAG_FKEY }, | ||
| 11 | - { KEY_F3, KEY_FN_F5, APPLE_FLAG_FKEY }, /* Exposé */ | ||
| 12 | - { KEY_F4, KEY_FN_F4, APPLE_FLAG_FKEY }, /* Dashboard */ | ||
| 13 | + { KEY_F3, KEY_CYCLEWINDOWS, APPLE_FLAG_FKEY }, /* Exposé */ | ||
| 14 | + { KEY_F4, KEY_CALC, APPLE_FLAG_FKEY }, /* Dashboard */ | ||
| 15 | { KEY_F5, KEY_KBDILLUMDOWN, APPLE_FLAG_FKEY }, | ||
| 16 | { KEY_F6, KEY_KBDILLUMUP, APPLE_FLAG_FKEY }, | ||
| 17 | { KEY_F7, KEY_PREVIOUSSONG, APPLE_FLAG_FKEY }, | ||
