in der /etc/default-keyboard habe ich die logitech_g15 eingetragen. "dpkg-reconfigure keyboard-configuration" läuft ebenfalls auf die Logitech G15 hinaus.
Ich drücke in xev die Tasten G16, G17 und G18). Bezeichnend ist, dass G17 deutlich andere Werte liefert und das Programm "Einstellungen" öffnet *wtf*
Code: Alles auswählen
MappingNotify event, serial 41, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 41, synthetic NO, window 0xe00001,
root 0x6db, subw 0x0, time 100983, (-141,-290), root:(1493,502),
state 0x0, keycode 190 (keysym 0xff66, Redo), same_screen YES,
XKeysymToKeycode returns keycode: 137
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 42, synthetic NO, window 0xe00001,
root 0x6db, subw 0x0, time 101149, (-141,-290), root:(1493,502),
state 0x0, keycode 190 (keysym 0xff66, Redo), same_screen YES,
XKeysymToKeycode returns keycode: 137
XLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 42, synthetic NO, window 0xe00001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 42, synthetic NO, window 0xe00001,
mode NotifyWhileGrabbed, detail NotifyNonlinear
PropertyNotify event, serial 42, synthetic NO, window 0xe00001,
atom 0x163 (_NET_WM_STATE), time 101606, state PropertyNewValue
PropertyNotify event, serial 42, synthetic NO, window 0xe00001,
atom 0x1af (_GTK_EDGE_CONSTRAINTS), time 101606, state PropertyNewValue
FocusIn event, serial 42, synthetic NO, window 0xe00001,
mode NotifyNormal, detail NotifyAncestor
KeymapNotify event, serial 42, synthetic NO, window 0x0,
keys: 99 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PropertyNotify event, serial 42, synthetic NO, window 0xe00001,
atom 0x163 (_NET_WM_STATE), time 104497, state PropertyNewValue
PropertyNotify event, serial 42, synthetic NO, window 0xe00001,
atom 0x1af (_GTK_EDGE_CONSTRAINTS), time 104497, state PropertyNewValue
KeyPress event, serial 42, synthetic NO, window 0xe00001,
root 0x6db, subw 0x0, time 104987, (-165,-555), root:(1469,237),
state 0x0, keycode 192 (keysym 0x1008ff45, XF86Launch5), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 42, synthetic NO, window 0xe00001,
root 0x6db, subw 0x0, time 105096, (-165,-555), root:(1469,237),
state 0x0, keycode 192 (keysym 0x1008ff45, XF86Launch5), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
ClientMessage event, serial 42, synthetic YES, window 0xe00001,
message_type 0x155 (WM_PROTOCOLS), format 32, message 0x153 (WM_DELETE_WINDOW)
In den Einstellungen (Tastaturkürzel) versuche ich, diese Tasten als Tastenkombinationen zu betrachten und ihnen eine Funktion zuzuweisen. Dabei werden die Tasten wie folgt erkannt:
Ich denke, es geht tatsächlich nur via udev - allerdings fehlen dafür wie gesagt die Scancodes.