Commit 2f03d1f9 authored by David Redondo's avatar David Redondo 🏎
Browse files

buttonrebinds: Fix Meta modifier

Devices send evdev keycodes not xkb keycodes.
parent e22c6160
Pipeline #226170 passed with stage
in 13 minutes and 17 seconds
......@@ -171,7 +171,7 @@ bool ButtonRebindsFilter::pointerEvent(QMouseEvent *event, quint32 nativeButton)
sendKey(KEY_LEFTALT);
}
if (key & Qt::MetaModifier) {
sendKey(XKB_KEY_Super_L);
sendKey(KEY_LEFTMETA);
}
sendKey(keyCode.value());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment