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

@@ -16,7 +16,6 @@
#pragma once
#define COMBO_TERM 50
#define COMBO_COUNT 50
#define PERMISSIVE_HOLD
#define TAPPING_TERM 175
#define TAPPING_TERM 175

View File

@@ -188,7 +188,7 @@ const uint16_t PROGMEM rl_r_m_i_combo[] = {RLR, RLM, RLI, COMBO_END};
// both hand combinations.
const uint16_t PROGMEM bl_m_m_combo[] = {LLM, RLM, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[L_U_PINKY_RING] = COMBO(lu_p_r_combo, KC_TAB),
[L_U_RING_MIDDLE] = COMBO(lu_r_m_combo, KC_QUES),

View File

@@ -1,5 +1,4 @@
#pragma once
#define COMBO_TERM 100
#define COMBO_COUNT 38
#define PERMISSIVE_HOLD

View File

@@ -105,7 +105,7 @@ const uint16_t PROGMEM z_slash_combo[] = {KC_Z, KC_SLSH, COMBO_END};
const uint16_t PROGMEM x_comma_combo[] = {KC_X, KC_COMM, COMBO_END};
const uint16_t PROGMEM j_f_combo[] = {KC_F, KC_J, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[Q_W] = COMBO(q_w_combo, KC_TAB),
[W_E] = COMBO(w_e_combo, KC_DQT),

View File

@@ -20,5 +20,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define COMBO_TERM 100
#define COMBO_COUNT 38
#define PERMISSIVE_HOLD

View File

@@ -105,7 +105,7 @@ const uint16_t PROGMEM z_slash_combo[] = {KC_Z, KC_SLSH, COMBO_END};
const uint16_t PROGMEM x_comma_combo[] = {KC_X, KC_COMM, COMBO_END};
const uint16_t PROGMEM j_f_combo[] = {KC_F, KC_J, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[Q_W] = COMBO(q_w_combo, KC_TAB),
[W_E] = COMBO(w_e_combo, KC_DQT),

View File

@@ -17,5 +17,4 @@
#pragma once
#define COMBO_TERM 100
#define COMBO_COUNT 38
#define PERMISSIVE_HOLD

View File

@@ -105,7 +105,7 @@ const uint16_t PROGMEM z_slash_combo[] = {KC_Z, KC_SLSH, COMBO_END};
const uint16_t PROGMEM x_comma_combo[] = {KC_X, KC_COMM, COMBO_END};
const uint16_t PROGMEM j_f_combo[] = {KC_F, KC_J, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[Q_W] = COMBO(q_w_combo, KC_TAB),
[W_E] = COMBO(w_e_combo, KC_DQT),

View File

@@ -1,5 +1,4 @@
#pragma once
#define COMBO_TERM 100
#define COMBO_COUNT 38
#define PERMISSIVE_HOLD

View File

@@ -105,7 +105,7 @@ const uint16_t PROGMEM z_slash_combo[] = {KC_Z, KC_SLSH, COMBO_END};
const uint16_t PROGMEM x_comma_combo[] = {KC_X, KC_COMM, COMBO_END};
const uint16_t PROGMEM j_f_combo[] = {KC_F, KC_J, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[Q_W] = COMBO(q_w_combo, KC_TAB),
[W_E] = COMBO(w_e_combo, KC_DQT),

View File

@@ -1,7 +1,6 @@
#pragma once
#define COMBO_TERM 100
#define COMBO_COUNT 38
#define PERMISSIVE_HOLD
#define LEADER_TIMEOUT 300

View File

@@ -121,7 +121,7 @@ const uint16_t PROGMEM m_b_combo[] = {KC_M, KC_B, COMBO_END};
// both hand combinations.
const uint16_t PROGMEM j_w_combo[] = {KC_J, KC_W, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[COLON_COMMA] = COMBO(colon_comma_combo, KC_TAB),
[COMMA_DOT] = COMBO(comma_dot_combo, KC_QUES),

View File

@@ -1,5 +1,4 @@
#pragma once
#define COMBO_TERM 100
#define COMBO_COUNT 38
#define PERMISSIVE_HOLD

View File

@@ -121,7 +121,7 @@ const uint16_t PROGMEM m_b_combo[] = {KC_M, KC_B, COMBO_END};
// both hand combinations.
const uint16_t PROGMEM j_w_combo[] = {KC_J, KC_W, COMBO_END};
combo_t key_combos[COMBO_COUNT] = {
combo_t key_combos[] = {
// left hand combinations.
[COLON_COMMA] = COMBO(colon_comma_combo, KC_TAB),
[COMMA_DOT] = COMBO(comma_dot_combo, KC_QUES),