update ardux (big/40%) number layer to be more robust -- add dot, comma, enter, tab, underscore, space to the existing tweaks to facilitate number/date/time data entry

This commit is contained in:
KemoNine 2024-03-21 11:05:20 -04:00
parent 71d0cf335e
commit 3cf222779d
2 changed files with 15 additions and 4 deletions

View file

@ -2,5 +2,6 @@
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// NAME RESULT TRIGGER // NAME RESULT TRIGGER
COMB(combo_period, KC_DOT, KC_1, KC_5) COMB(combo_num_period, KC_DOT, KC_1, KC_5)
COMB(combo_comma, KC_COMM, KC_1, KC_6) COMB(combo_num_comma, KC_COMM, KC_1, KC_6)
COMB(combo_num_enter, KC_ENT, KC_1, KC_4)

View file

@ -9,13 +9,23 @@ STD_BETWEEN_ROW_ONE_TWO_NONES \
KC_TRNS, KC_VOLD, KC_WWW_SEARCH, KC_MUTE \ KC_TRNS, KC_VOLD, KC_WWW_SEARCH, KC_MUTE \
STD_TRAILING_NONES STD_TRAILING_NONES
// Copy of needed defines from layers.h
#ifndef ARDUX_BIG_LAYER_NUM_LEFT
#ifdef ARDUX_TWO_THUMB
#define ARDUX_BIG_LAYER_NUM_LEFT_THUMBS KC_UNDS, KC_SPACE
#endif
#ifndef ARDUX_TWO_THUMB
#define ARDUX_BIG_LAYER_NUM_LEFT_THUMBS KC_TAB, KC_UNDS, KC_SPACE
#endif
#endif
#define ARDUX_BIG_LAYER_NUM_LEFT \ #define ARDUX_BIG_LAYER_NUM_LEFT \
BIG_LEADING_NONES \ BIG_LEADING_NONES \
KNUM_T4, KNUM_T3, KNUM_T2, KNUM_T1, KC_MINUS, \ KNUM_T4, KNUM_T3, KNUM_T2, KNUM_T1, KC_MINUS, \
BIG_BETWEEN_ROW_ONE_TWO_NONES \ BIG_BETWEEN_ROW_ONE_TWO_NONES \
KNUM_B4, KNUM_B3, KNUM_B2, KNUM_B1, KC_SLASH, \ KNUM_B4, KNUM_B3, KNUM_B2, KNUM_B1, KC_SLASH, \
BIG_BETWEEN_ROW_TWO_THREE_NONES \ BIG_BETWEEN_ROW_TWO_THREE_NONES \
KC_NO, KC_NO, KC_NO, KC_NO, KC_COLON, \ KC_NO, KC_NO, KC_NO, KC_TAB, KC_COLON, \
BIG_BETWEEN_ROW_THREE_THUMBS_NONES \ BIG_BETWEEN_ROW_THREE_THUMBS_NONES \
ARDUX_BIG_LAYER_NUM_LEFT_THUMBS \ ARDUX_BIG_LAYER_NUM_LEFT_THUMBS \
BIG_TRAILING_NONES BIG_TRAILING_NONES