HID: apple: Option to swap only left side mod keys
authorLasse Brun <bruners@gmail.com>
Mon, 22 May 2023 18:40:12 +0000 (20:40 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 9 Jun 2023 15:40:43 +0000 (17:40 +0200)
commit72e49cadea390556ca60fad973740ddc5587e408
treeef5506fc8604a5b2856a24bf3a7992ba7cbe498e
parentfa56e0e44f658085262f536bbfdfff3374b8828d
HID: apple: Option to swap only left side mod keys

On the Keychron K8 keyboard, and probably others, the right side keys
should not be swapped to maintain PC layout.

Swapping the right side keys moves 'Super' before 'Alt gr' which is not
intended by the default Keychron layout or the ISO layout.

Signed-off-by: Lasse Brun <bruners@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c