Compare commits

...

2 Commits

Author SHA1 Message Date
f636c0b208 Add space mod layer 2024-06-03 10:24:14 -07:00
4eb1100cbd Add quote and minus combos 2024-06-03 10:24:06 -07:00

View File

@ -11,23 +11,28 @@
enum _layers {
_BASE,
_FN,
_SPACE,
_FULL,
};
// Changes from regular layout
// - Added many combos
// - Capslock => Map as Hyper and escape
// - FN+Escape => Sleep
// - Remove fn lock layers
// - Removed esc, backspace, and enter to encourage use of combos
// - Added full keyboard layer for guest use
// - Added RESET and CLEAR_EEPROM buttons to fn layer
// - Added _SPACE layer for additional shortcuts
const uint16_t PROGMEM esc_combo[] = {KC_S, KC_W, COMBO_END};
const uint16_t PROGMEM backspace_combo[] = {KC_S, KC_D, COMBO_END};
const uint16_t PROGMEM tab_combo[] = {KC_D, KC_F, COMBO_END};
const uint16_t PROGMEM enter_combo[] = {KC_C, KC_V, COMBO_END};
const uint16_t PROGMEM colon_combo[] = {KC_J, KC_K, COMBO_END};
const uint16_t PROGMEM quote_combo[] = {KC_N, KC_M, COMBO_END};
const uint16_t PROGMEM underscore_combo[] = {KC_M, KC_COMM, COMBO_END};
const uint16_t PROGMEM minus_combo[] = {KC_I, KC_O, COMBO_END};
const uint16_t PROGMEM greaterthan_combo[] = {KC_K, KC_L, COMBO_END};
const uint16_t PROGMEM lessthan_combo[] = {KC_H, KC_J, COMBO_END};
combo_t key_combos[] = {
@ -36,7 +41,9 @@ combo_t key_combos[] = {
COMBO(tab_combo, KC_TAB),
COMBO(enter_combo, KC_ENT),
COMBO(colon_combo, KC_COLON),
COMBO(quote_combo, KC_QUOT),
COMBO(underscore_combo, KC_UNDS),
COMBO(minus_combo, KC_MINUS),
COMBO(greaterthan_combo, KC_GT),
COMBO(lessthan_combo, KC_LT),
};
@ -45,6 +52,10 @@ combo_t key_combos[] = {
#define KC_HESC ALL_T(KC_ESC)
// _SPACE layer when held, space bar when tapped.
#define LT_SPC LT(_SPACE, KC_SPC)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
@ -59,7 +70,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* 12 keys Shift Z X C V B N M , . / Shift
*
*
* 11 keys CtrlFN GUIAlt AltCtl
* 11 keys CtrlFN GUIAlt Space / _SPACE AltCtl
*
*
* 78 total
@ -70,7 +81,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_HESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NO,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
KC_LCTL, MO(_FN), KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT
KC_LCTL, MO(_FN), KC_LGUI, KC_LALT, LT_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_UP, KC_DOWN, KC_RGHT
),
/*
* Function layer
@ -98,6 +109,33 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_PGDN, KC_END
),
/*
* Space mod layer
*
* 14 keys
*
* 14 keys
*
* 14 keys
*
* 13 keys ( )
*
* 12 keys [ ]
*
*
* 11 keys
*
*
* 78 total
*/
[_SPACE] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, KC_LPRN, KC_RPRN, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_LBRC, KC_RBRC, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
/*
*