Deer community, I just bought a Thinkpad compact bluetooth keyboard and I'd like to remap some keys on Archlinux. Here is my keyboard connection info from udev monitor,
``` KERNEL[3108.366510] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256 (bluetooth) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256 DEVTYPE=link SEQNUM=7967 SUBSYSTEM=bluetooth UDEV [3108.367344] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256 (bluetooth) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256 DEVTYPE=link SEQNUM=7967 SUBSYSTEM=bluetooth SYSTEMD_ALIAS=/sys/subsystem/bluetooth/devices/hci0:256 SYSTEMD_WANTS=thinkfan.service TAGS=:systemd: USEC_INITIALIZED=3108367253 KERNEL[3108.525845] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003 (hid) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003 HID_ID=0005:000017EF:00006048 HID_NAME=ThinkPad Compact Bluetooth Keyboard with TrackPoint HID_PHYS=60:57:18:9b:6e:86 HID_UNIQ=90:7f:61:00:5b:ed MODALIAS=hid:b0005g0000v000017EFp00006048 SEQNUM=7968 SUBSYSTEM=hid KERNEL[3108.527910] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20 (input) ABS=ffffff01000700ff ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20 EV=12001f KEY=3f0003007f 0 20000 4c3ffff17aff32d bf54445600000000 c00000000070001 1134f9b8b17c007 ffff7bfad951dfff ffbeffdfffefffff fffffffffffffffe LED=1f MODALIAS=input:b0005v17EFp6048e0312-e0,1,2,3,4,11,14,k71,72,73,74,75,77,78,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8B,8C,8E,8F,90,94,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,A9,AB,AC,AD,AE,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,CE,CF,D0,D1,D2,D4,D8,D9,DB,DF,E0,E1,E3,E4,E7,E8,E9,EA,EB,EE,F0,F1,F4,F8,100,110,111,112,13A,13B,161,162,164,166,16A,16E,172,174,176,178,179,17A,17B,17C,17D,17F,180,182,183,185,188,189,18C,18D,18E,18F,190,191,192,193,195,197,198,199,19A,19C,1A0,1A1,1A2,1A3,1A4,1A5,1A6,1A7,1A8,1A9,1AA,1AB,1AC,1AD,1AE,1AF,1B0,1B1,1B6,1B7,1BA,1D1,240,241,242,243,244,245,246,250,251,260,261,262,263,264,265,r0,1,6,8,a0,1,2,3,4,5,6,7,10,11,12,20,28,29,2A,2B,2C,2D,2E,2F,30,31,32,33,34,35,36,37,38,39,3A,3B,3C,3D,3E,m4,l0,1,2,3,4,sfw MSC=10 NAME="ThinkPad Compact Bluetooth Keyboard with TrackPoint" PHYS="60:57:18:9b:6e:86" PRODUCT=5/17ef/6048/312 PROP=21 REL=143 SEQNUM=7969 SUBSYSTEM=input UNIQ="90:7f:61:00:5b:ed" KERNEL[3108.527982] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock SEQNUM=7970 SUBSYSTEM=leds KERNEL[3108.528007] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock SEQNUM=7971 SUBSYSTEM=leds TRIGGER=kbd-numlock KERNEL[3108.528029] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock SEQNUM=7972 SUBSYSTEM=leds KERNEL[3108.528052] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock SEQNUM=7973 SUBSYSTEM=leds TRIGGER=kbd-capslock KERNEL[3108.528073] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock SEQNUM=7974 SUBSYSTEM=leds KERNEL[3108.528096] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock SEQNUM=7975 SUBSYSTEM=leds TRIGGER=kbd-scrolllock KERNEL[3108.528117] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::compose (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::compose SEQNUM=7976 SUBSYSTEM=leds KERNEL[3108.528136] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana SEQNUM=7977 SUBSYSTEM=leds KERNEL[3108.528159] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana SEQNUM=7978 SUBSYSTEM=leds TRIGGER=kbd-kanalock UDEV [3108.528489] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003 (hid) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003 DRIVER=lenovo HID_ID=0005:000017EF:00006048 HID_NAME=ThinkPad Compact Bluetooth Keyboard with TrackPoint HID_PHYS=60:57:18:9b:6e:86 HID_UNIQ=90:7f:61:00:5b:ed MODALIAS=hid:b0005g0000v000017EFp00006048 SEQNUM=7968 SUBSYSTEM=hid SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108528148 KERNEL[3108.528869] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/event16 (input) ACTION=add DEVNAME=/dev/input/event16 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/event16 MAJOR=13 MINOR=80 SEQNUM=7979 SUBSYSTEM=input KERNEL[3108.528954] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/mouse2 (input) ACTION=add DEVNAME=/dev/input/mouse2 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/mouse2 MAJOR=13 MINOR=34 SEQNUM=7980 SUBSYSTEM=input KERNEL[3108.529029] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/js0 (input) ACTION=add DEVNAME=/dev/input/js0 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/js0 MAJOR=13 MINOR=0 SEQNUM=7981 SUBSYSTEM=input KERNEL[3108.529101] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/hidraw/hidraw1 (hidraw) ACTION=add DEVNAME=/dev/hidraw1 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/hidraw/hidraw1 MAJOR=248 MINOR=1 SEQNUM=7982 SUBSYSTEM=hidraw UDEV [3108.530797] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/hidraw/hidraw1 (hidraw) ACTION=add DEVNAME=/dev/hidraw1 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/hidraw/hidraw1 MAJOR=248 MINOR=1 SEQNUM=7982 SUBSYSTEM=hidraw SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108530713 UDEV [3108.531439] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20 (input) ABS=ffffff01000700ff ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20 EV=12001f ID_BUS=bluetooth ID_FOR_SEAT=input-pci-0000_00_14_0-usb-0_7_1_0 ID_INPUT=1 ID_INPUT_KEY=1 ID_INPUT_KEYBOARD=1 ID_INPUT_MOUSE=1 ID_INPUT_POINTINGSTICK=1 ID_PATH=pci-0000:00:14.0-usb-0:7:1.0 ID_PATH_TAG=pci-0000_00_14_0-usb-0_7_1_0 KEY=3f0003007f 0 20000 4c3ffff17aff32d bf54445600000000 c00000000070001 1134f9b8b17c007 ffff7bfad951dfff ffbeffdfffefffff fffffffffffffffe LED=1f MODALIAS=input:b0005v17EFp6048e0312-e0,1,2,3,4,11,14,k71,72,73,74,75,77,78,79,7A,7B,7C,7D,7E,7F,80,81,82,83,84,85,86,87,88,89,8A,8B,8C,8E,8F,90,94,96,98,9B,9C,9E,9F,A1,A3,A4,A5,A6,A7,A8,A9,AB,AC,AD,AE,B0,B1,B2,B3,B4,B5,B6,B7,B8,B9,BA,BB,BC,BD,BE,BF,C0,C1,C2,CE,CF,D0,D1,D2,D4,D8,D9,DB,DF,E0,E1,E3,E4,E7,E8,E9,EA,EB,EE,F0,F1,F4,F8,100,110,111,112,13A,13B,161,162,164,166,16A,16E,172,174,176,178,179,17A,17B,17C,17D,17F,180,182,183,185,188,189,18C,18D,18E,18F,190,191,192,193,195,197,198,199,19A,19C,1A0,1A1,1A2,1A3,1A4,1A5,1A6,1A7,1A8,1A9,1AA,1AB,1AC,1AD,1AE,1AF,1B0,1B1,1B6,1B7,1BA,1D1,240,241,242,243,244,245,246,250,251,260,261,262,263,264,265,r0,1,6,8,a0,1,2,3,4,5,6,7,10,11,12,20,28,29,2A,2B,2C,2D,2E,2F,30,31,32,33,34,35,36,37,38,39,3A,3B,3C,3D,3E,m4,l0,1,2,3,4,sfw MSC=10 NAME="ThinkPad Compact Bluetooth Keyboard with TrackPoint" PHYS="60:57:18:9b:6e:86" PRODUCT=5/17ef/6048/312 PROP=21 REL=143 SEQNUM=7969 SUBSYSTEM=input SYSTEMD_WANTS=thinkfan.service TAGS=:seat: UNIQ="90:7f:61:00:5b:ed" USEC_INITIALIZED=3108531111 UDEV [3108.533339] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock SEQNUM=7974 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108533222 UDEV [3108.533555] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock SEQNUM=7970 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108533460 UDEV [3108.538169] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::compose (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::compose SEQNUM=7976 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108535256 UDEV [3108.538216] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock SEQNUM=7972 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108536186 UDEV [3108.538247] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana (leds) ACTION=add DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana SEQNUM=7977 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108536681 UDEV [3108.538278] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::scrolllock SEQNUM=7975 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service TRIGGER=kbd-scrolllock USEC_INITIALIZED=3108533222 UDEV [3108.538614] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::kana SEQNUM=7978 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service TRIGGER=kbd-kanalock USEC_INITIALIZED=3108536681 UDEV [3108.538653] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::capslock SEQNUM=7973 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service TRIGGER=kbd-capslock USEC_INITIALIZED=3108536186 UDEV [3108.540196] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/mouse2 (input) ACTION=add DEVNAME=/dev/input/mouse2 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/mouse2 ID_BUS=bluetooth ID_INPUT=1 ID_INPUT_KEY=1 ID_INPUT_KEYBOARD=1 ID_INPUT_MOUSE=1 ID_INPUT_POINTINGSTICK=1 MAJOR=13 MINOR=34 SEQNUM=7980 SUBSYSTEM=input SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108540102 UDEV [3108.542072] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/js0 (input) ACTION=add DEVNAME=/dev/input/js0 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/js0 ID_BUS=bluetooth ID_INPUT=1 ID_INPUT_KEY=1 ID_INPUT_KEYBOARD=1 ID_INPUT_MOUSE=1 ID_INPUT_POINTINGSTICK=1 MAJOR=13 MINOR=0 SEQNUM=7981 SUBSYSTEM=input SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108541785 UDEV [3108.542925] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock (leds) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/input20::numlock SEQNUM=7971 SUBSYSTEM=leds SYSTEMD_WANTS=thinkfan.service TRIGGER=kbd-numlock USEC_INITIALIZED=3108533460 KERNEL[3108.587279] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/power_supply/hid-90:7f:61:00:5b:ed-battery (power_supply) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/power_supply/hid-90:7f:61:00:5b:ed-battery POWER_SUPPLY_CAPACITY=54 POWER_SUPPLY_MODEL_NAME=ThinkPad Compact Bluetooth Keyboard with TrackPoint POWER_SUPPLY_NAME=hid-90:7f:61:00:5b:ed-battery POWER_SUPPLY_ONLINE=1 POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_SCOPE=Device POWER_SUPPLY_STATUS=Discharging SEQNUM=7983 SUBSYSTEM=power_supply UDEV [3108.626964] change /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/power_supply/hid-90:7f:61:00:5b:ed-battery (power_supply) ACTION=change DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/power_supply/hid-90:7f:61:00:5b:ed-battery POWER_SUPPLY_CAPACITY=54 POWER_SUPPLY_MODEL_NAME=ThinkPad Compact Bluetooth Keyboard with TrackPoint POWER_SUPPLY_NAME=hid-90:7f:61:00:5b:ed-battery POWER_SUPPLY_ONLINE=1 POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_SCOPE=Device POWER_SUPPLY_STATUS=Discharging SEQNUM=7983 SUBSYSTEM=power_supply SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108602983 UDEV [3108.653100] add /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/event16 (input) ACTION=add DEVNAME=/dev/input/event16 DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0003/input/input20/event16 ID_BUS=bluetooth ID_INPUT=1 ID_INPUT_KEY=1 ID_INPUT_KEYBOARD=1 ID_INPUT_MOUSE=1 ID_INPUT_POINTINGSTICK=1 LIBINPUT_DEVICE_GROUP=5/17ef/6048/312:60:57:18:9b:6e:86 MAJOR=13 MINOR=80 SEQNUM=7979 SUBSYSTEM=input SYSTEMD_WANTS=thinkfan.service USEC_INITIALIZED=3108652978 ``` Here are all the patterns I tried, ``` keyboard:name:ThinkPad Compact Bluetooth Keyboard with TrackPoint:* evdev:name:ThinkPad Compact Bluetooth Keyboard with TrackPoint:* evdev:input:b0005v17efp6048e0312* evdev:bluetooth:b0005v17efp6048e0312* evdev:b0005v17efp6048e0312* evdev:input:* evdev:* * KEYBOARD_KEY_7b=57 KEYBOARD_KEY_39=42 KEYBOARD_KEY_79=14 KEYBOARD_KEY_70=leftctrl KEYBOARD_KEY_b8=247 KEYBOARD_KEY_7d=14 KEYBOARD_KEY_73=54 ``` I did `sudo udevadm hwdb --update; sudo udevadm trigger` for every test. The remapping never works. I get the scancode via `showkey --scancode` from terminal. Any help would be much appreciated! Best regards, Amos _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
