Skip to content

Magic Keyboard first generation and 2015 FN key mapping

José Expósito linux-input lkml 2 versions – Applied

Status from this message: Queued in hid.git#for-5.18/apple. Thanks José,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 0 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3HID: apple: Refactor key translation setupdrivers/hid/hid-apple.c+17 -210 replies
2/3HID: apple: Magic Keyboard first generation FN key mappingdrivers/hid/hid-apple.c+35 -30 replies
3/3HID: apple: Magic Keyboard 2015 FN key mappingdrivers/hid/hid-apple.c+24 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Magic Keyboard first generation and 2015 FN key mapping

Hi everyone,

This patchset adds the missing key mapping for the Magic Keyboard first generation and the 2015 models.

Since the first generation model had numlock emulation in place, I decided to fix the bug (described in the patch) and keep it in place just because it has been there for so long that people might use it. Having said that, there is no indication in the keyboard about which keys can be used as numbers or how to enable/disable numlock. I think that a patch removing APPLE_NUMLOCK_EMULATION might make sense, but I didn't want to remove existing functionality without asking :)

Thanks a lot,
José Expósito

v2: Resolve conflicts

José Expósito (3):
HID: apple: Refactor key translation setup
HID: apple: Magic Keyboard first generation FN key mapping
HID: apple: Magic Keyboard 2015 FN key mapping

 drivers/hid/hid-apple.c | 100 ++++++++++++++++++++++++++++++----------
 1 file changed, 76 insertions(+), 24 deletions(-)
Signature · 1 line
2.25.1