Keymap introspection for combos. (#19670)

This commit is contained in:
Nick Brassel
2023-05-15 22:27:37 +10:00
committed by GitHub
parent 433dc60686
commit 5faa23d54c
226 changed files with 533 additions and 729 deletions

View File

@@ -1,3 +0,0 @@
#pragma once
#define COMBO_COUNT 1

View File

@@ -15,7 +15,7 @@ enum custom_keycodes {
};
const uint16_t PROGMEM lock_combo[] = {KC_J, KC_K, KC_L, KC_SCLN, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {COMBO(lock_combo, LGUI(KC_O))};
combo_t key_combos[] = {COMBO(lock_combo, LGUI(KC_O))};
// Define the keycodes for one qwerty layer and one Fn layer.
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* │ Ctrl │ Alt │↯ATab │ Space │ Gui │ Alt │ Ctrl │
* └──────┴──────┴──────┴──────────────────────────────────────────────────────────────┴──────┴──────┴──────┘
*
* Hidden features :
* Hidden features :
* - Left Shift is also Home on a single tap.
* - Left Ctrl is also End on a single tap.
* - Right Shift is also page-up on a single tap.