From e6c6ce7ab7797bf132638d1dd7172a754461f799 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 27 Jun 2019 03:14:55 +0200 Subject: Add Magic Combol: Nav + LeftClick + RightClick = MiddleClick. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason adding USE_MAGIC_COMBOS(…) to src/MagicCombo.cpp crashes the keyboard, so we move it to src/keymap.h instead. --- src/keymap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/keymap.h') diff --git a/src/keymap.h b/src/keymap.h index a15f725..80f4330 100644 --- a/src/keymap.h +++ b/src/keymap.h @@ -92,3 +92,12 @@ KEYMAPS( , ___ ) ) + +/* Magic Combos */ +USE_MAGIC_COMBOS( + [MIDDLE_CLICK] = { + .action = comboMiddleClick + /* Nav + LeftClick + RightClick */ + , .keys = {R3C6, R2C6, R2C9} + } +) -- cgit v1.2.3