From add9ac6e563d2a34c2fc012bb321f6a828eed4e8 Mon Sep 17 00:00:00 2001 From: Duncan Sutherland Date: Sun, 16 Jul 2023 06:14:23 +0100 Subject: [PATCH] add QMK Repeat keys (#1289) --- src/longFormKeycodes.js | 2 ++ src/store/modules/keycodes/quantum.js | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/src/longFormKeycodes.js b/src/longFormKeycodes.js index 06396b3760..75d71a0a4a 100644 --- a/src/longFormKeycodes.js +++ b/src/longFormKeycodes.js @@ -245,6 +245,8 @@ export const longFormKeycodes = { DEBUG: 'DB_TOGG', EEPROM_RESET: 'EE_CLR', EEP_RST: 'EE_CLR', + QK_REPEAT_KEY: 'QK_REP', + QK_ALT_REPEAT_KEY: 'QK_AREP', // Audio Keys CLICKY_TOGGLE: 'CK_TOGG', CLICKY_UP: 'CK_UP', diff --git a/src/store/modules/keycodes/quantum.js b/src/store/modules/keycodes/quantum.js index b9b0f64741..a2ddaa6d27 100644 --- a/src/store/modules/keycodes/quantum.js +++ b/src/store/modules/keycodes/quantum.js @@ -83,6 +83,18 @@ export default [ title: 'Resets EEPROM state', width: 1500 }, + { + name: 'Repeat', + code: 'QK_REP', + title: 'Repeat last key pressed', + width: 1500 + }, + { + name: 'Alt Repeat', + code: 'QK_AREP', + title: 'Perform alternate of last key pressed', + width: 1500 + }, { width: 1000 }, { name: 'Any',