You need to sign in or sign up before continuing.
Use PS/2 scancode set 2 in the driver.
I removed keycodes for combinations of keys that should be presented to userspace as the combinations themselves as well as the KBKEY_NO_STANDARD_MEANING_1
which I could not find on my (laptop) keyboard. All remaining keycodes should be mapped in the driver. I tried to test that all the mappings were correct, but I would recommend you to give it a test too.
I also think it would make sense to rename KBKEY_NO_STANDARD_MEANING_2
/ KNO_STANDARD_MEANING_2
. What is your opinion on that?