+ hid-apple_fn_keys-f5-and-f6.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     hid: apple_fn_keys F5 and F6
has been added to the -mm tree.  Its filename is
     hid-apple_fn_keys-f5-and-f6.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: hid: apple_fn_keys F5 and F6
From: Henrik Rydberg <rydberg@xxxxxxxxxxx>

In drivers/hid/hid-input.c, the apple_fn_keys translation table contains
no entries for the F5 and F6 keys.  This patch maps the F5 and F6 keys to
KBDILLUMDOWN and KBDILLUMUP, respektively, which make them work as
keyboard backlight control keys.

Signed-off-by: Henrik Rydberg <rydberg@xxxxxxxxxxx>
Cc: Jiri Kosina <jikos@xxxxxxxx>
Cc: Dmitry Torokhov <dtor@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/hid/hid-input.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/hid/hid-input.c~hid-apple_fn_keys-f5-and-f6 drivers/hid/hid-input.c
--- a/drivers/hid/hid-input.c~hid-apple_fn_keys-f5-and-f6
+++ a/drivers/hid/hid-input.c
@@ -100,6 +100,8 @@ static struct hidinput_key_translation a
 	{ KEY_F2,       KEY_BRIGHTNESSUP,   APPLE_FLAG_FKEY },
 	{ KEY_F3,       KEY_FN_F5,          APPLE_FLAG_FKEY }, /* Exposé */
 	{ KEY_F4,       KEY_FN_F4,          APPLE_FLAG_FKEY }, /* Dashboard */
+	{ KEY_F5,	KEY_KBDILLUMDOWN,   APPLE_FLAG_FKEY },
+	{ KEY_F6,	KEY_KBDILLUMUP,     APPLE_FLAG_FKEY },
 	{ KEY_F7,       KEY_PREVIOUSSONG,   APPLE_FLAG_FKEY },
 	{ KEY_F8,       KEY_PLAYPAUSE,      APPLE_FLAG_FKEY },
 	{ KEY_F9,       KEY_NEXTSONG,       APPLE_FLAG_FKEY },
_

Patches currently in -mm which might be from rydberg@xxxxxxxxxxx are

hid-apple_fn_keys-f5-and-f6.patch
input-bcm5974-055-smoother-motion-irq-simplification.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux