Skip to content

Commit

Permalink
improve keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-bravo-yahoo committed Feb 18, 2025
1 parent 6e8eaef commit 0272a05
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
7 changes: 2 additions & 5 deletions keyboards/crkbd/keymaps/aeby/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

//#define USE_MATRIX_I2C

/* Select hand configuration */

#define MASTER_LEFT
// #define MASTER_RIGHT
// #define EE_HANDS
// determine if left or right based on eeprom (flash them as left/right)
#define EE_HANDS

// https://docs.qmk.fm/#/tap_hold
#define TAPPING_TERM 175
Expand Down
22 changes: 11 additions & 11 deletions keyboards/crkbd/keymaps/aeby/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,23 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[2] = LAYOUT_split_3x6_3(
//,-----------------------------------------------------. ,-----------------------------------------------------.
XXXXXXX, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX,
_______, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT, _______, XXXXXXX,
_______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, KC_HOME, KC_END, _______, _______, _______, _______, _______, _______, KC_PGDN, KC_PGUP, XXXXXXX,
_______, _______, _______, _______, KC_PGUP, KC_PGDN, KC_END, KC_HOME, _______, KC_PGDN, KC_PGUP, _______,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
_______, _______, _______, _______, _______, _______
//`--------------------------' `--------------------------'
),

[3] = LAYOUT_split_3x6_3(
//,-----------------------------------------------------. ,-----------------------------------------------------.
XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, TG(4),
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, TG(4),
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX,OSM(KC_LGUI),OSM(KC_LALT),OSM(KC_LCTL),OSM(KC_LSFT),KC_F11, KC_F12, KC_MPLY, KC_MPRV, KC_MNXT, _______, XXXXXXX,
_______,OSM(KC_LGUI),OSM(KC_LALT),OSM(KC_LCTL),OSM(KC_LSFT),KC_F11, KC_F12, KC_MPLY, KC_MPRV, KC_MNXT, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, _______, _______, KC_BTN2, KC_BTN1, _______, _______, KC_BTN1, KC_BTN2, _______, _______, XXXXXXX,
_______, _______, _______, KC_BTN2, KC_BTN1, _______, _______, KC_BTN1, KC_BTN2, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
_______, _______, _______, _______, _______, _______
//`--------------------------' `--------------------------'
Expand All @@ -86,22 +86,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// gaming layer
[4] = LAYOUT_split_3x6_3(
//,-----------------------------------------------------. ,-----------------------------------------------------.
XXXXXXX, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TO(0),
_______, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, TO(0),
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_BSLS,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, TG(5),
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, TG(5),
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
KC_ESC, KC_SPC, KC_TAB, KC_DEL, KC_BSPC, KC_ENT
KC_ESC, KC_SPC, KC_TAB, KC_DEL, KC_BSPC, KC_ENT
//`--------------------------' `--------------------------'
),

// arrow key gaming layer
[5] = LAYOUT_split_3x6_3(
//,-----------------------------------------------------. ,-----------------------------------------------------.
_______, _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
_______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______,
_______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
//|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------|
Expand Down
5 changes: 4 additions & 1 deletion keyboards/crkbd/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
RGB_MATRIX_ENABLE = no
RGB_MATRIX_DRIVER = WS2812
RGB_MATRIX_DRIVER = ws2812

# for elite-c microcontrollers
BOOTLOADER = atmel-dfu

# if firmware size over limit, try this option
# LTO_ENABLE = yes
Expand Down

0 comments on commit 0272a05

Please sign in to comment.