]> git.mdlowis.com Git - proto/labwc.git/commit
keybinds: add support for Meta and Hyper modifiers
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 8 Oct 2023 17:24:35 +0000 (19:24 +0200)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sun, 8 Oct 2023 19:11:32 +0000 (21:11 +0200)
commit65bd32d62500389a1d6affafac6d1989ba28042f
treebd9e562e408af113b89e15b0d165c485023b4ee8
parent47a80fc4f286f1ce2d5ad75d9b6dcef4dc8a95b1
keybinds: add support for Meta and Hyper modifiers

The modifiers can be used in keybinds via M-key and H-key

Additionally adds support for:
- Mod1 (same as A)
- Mod3 (same as H)
- Mod4 (same as W)
- Mod5 (same as M)

This is compatible with the format used by Openbox.
(http://openbox.org/wiki/Help:Bindings#Syntax)

Mod2 (NumLock) and Caps are still not supported due to
their locking behavior but could theoretically be added.

Fixes: #1061
src/config/keybind.c
src/keyboard.c