free5lot / hid-apple-patched

Allows to swap the Fn key and left Control key and other tweaks on Macbook Pro and Apple keyboards in GNU/Linux
GNU General Public License v2.0
350 stars 61 forks source link

Magic keyboard 2021 - lock button #78

Open d0nth4x opened 3 years ago

d0nth4x commented 3 years ago

Hi! I have the problem with new keyboard model A2450. I added new product id as you can see in my PR #77. I want to use lock button as a "delete" key but i don't know how to define new key in hid-apple module source.

I tried to map this key with setkeycodes but it doesn't work. xev returns its keycode 160.

pawelllek commented 2 years ago

Hi, what's your kernel and which distribution?

d0nth4x commented 2 years ago

Hi, what's your kernel and which distribution?

Arch Linux with zen kernel (currently 5.14.3-zen1-1-zen)