Two new functions have been introduced in namespace kaleidoscope. One to conveniently add keyflags to an existing Key variable and another one that can be overloaded to convert other types to type Key. The keymap definition macros and the modifier function macro (LCTRL, LALT, ...) are now using the to-Key conversion functions. This allows users to use alternative ways to define keymaps by defining types of their own that automatically convert to type Key. Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>pull/916/head
parent
87373803ed
commit
040ce8d1bb
Loading…
Reference in new issue