Есть клавиатура logitech g103, ОС Debian.
На клавиатуре боковые клавиши G1-G6 выдают те же коды (если верить xev и evrouter) что и обыкновенные F1-F6.
При этом Винда их умеет различать. Вот как бы различить эти коды?
вот например нажимать если G2 и F2
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0x2c3, subw 0x1c00002, time 3267241, (42,47), root:(1599,155),
state 0x10, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0x2c3, subw 0x1c00002, time 3267297, (42,47), root:(1599,155),
state 0x10, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 36, synthetic NO, window 0x1c00001,
root 0x2c3, subw 0x1c00002, time 3267481, (42,47), root:(1599,155),
state 0x10, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1c00001,
root 0x2c3, subw 0x1c00002, time 3267569, (42,47), root:(1599,155),
state 0x10, keycode 68 (keysym 0xffbf, F2), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Как бы их все таки различить? Эти клавиши Gх от Fх?