diff options
author | Christoph Cullmann <cullmann@kde.org> | 2024-03-02 14:55:58 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2024-03-02 14:56:45 +0100 |
commit | c1f8d5061c47aca0f501f254bc088fd34e268b0d (patch) | |
tree | 6e6eb9438e3a28f04e6123dc6da4f2c554269e83 /totem/keymaps/default | |
parent | 9599adadc35f3d3746c2c3811cd4fba05c09a305 (diff) |
add q8 keymap
Diffstat (limited to 'totem/keymaps/default')
-rw-r--r-- | totem/keymaps/default/keymap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/totem/keymaps/default/keymap.c b/totem/keymaps/default/keymap.c index 9b7019c..9c452be 100644 --- a/totem/keymaps/default/keymap.c +++ b/totem/keymaps/default/keymap.c @@ -15,6 +15,12 @@ #include "totem.h" +// Returns true if `pos` on the left hand of the keyboard, false if right. +static bool on_left_hand(keypos_t pos) { + // works not really on planck for bottom row, but we handle that differently + return pos.row < MATRIX_ROWS / 2; +} + // layout helper macro, we just use 34 keys #undef LAYOUT #define LAYOUT(\ |