summaryrefslogtreecommitdiff
path: root/keyboards/lily58/keymaps/gaston/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lily58/keymaps/gaston/keymap.c')
-rw-r--r--keyboards/lily58/keymaps/gaston/keymap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/lily58/keymaps/gaston/keymap.c b/keyboards/lily58/keymaps/gaston/keymap.c
index 4f8654b41b..c98ec4254b 100644
--- a/keyboards/lily58/keymaps/gaston/keymap.c
+++ b/keyboards/lily58/keymaps/gaston/keymap.c
@@ -57,3 +57,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
+
+bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case MT_CESC:
+ // Immediately select the hold action when another key is pressed.
+ return true;
+ default:
+ // Do not select the hold action when another key is pressed.
+ return false;
+ }
+}