On Mon, Apr 30, 2018 at 11:17:09AM +0000, Mantas MikulÄ?nas wrote: > Wait, I thought the mappings are "scan code â?? evdev code"? 224/225 as shown > by libinput-debug-events would be the evdev codes (i.e. the mapping *result*), > not scan codes. Aah, that must be it; thanks for pointing that out! I presume I need to use 'evtest' and use the value of the MSC_SCAN event, e.g.: Event: time 1525096661.175000, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004 Event: time 1525096661.175000, type 1 (EV_KEY), code 30 (KEY_A), value 1 Event: time 1525096661.175000, -------------- SYN_REPORT ------------ I'll give that a go later in the week when I have access to the laptop again. -- Sam Morris <https://robots.org.uk/> CAAA AA1A CA69 A83A 892B 1855 D20B 4202 5CDA 27B9