~ruther/qmk_firmware

2118bf655eb870b6d9740b7adb228e61308d9e35 — Rutherther 8 months ago fef1ce31
feat: add TTY layer

Switches to all TTYs
1 files changed, 9 insertions(+), 0 deletions(-)

M keyboards/splitkb/kyria/keymaps/rutherther/keymap.c
M keyboards/splitkb/kyria/keymaps/rutherther/keymap.c => keyboards/splitkb/kyria/keymaps/rutherther/keymap.c +9 -0
@@ 12,6 12,7 @@ enum layers {
  _NUM,
  _GUI,
  _CTRL,
  _TTY,
};

enum custom_keycodes {


@@ 26,6 27,7 @@ enum custom_keycodes {
#define FKEYS    MO(_FUNCTION)
#define CTRL     MO(_CTRL)
#define GUI      MO(_GUI)
#define TTY      MO(_TTY)

#define GAMES    TO(_GAMES)
#define QWERTY   TO(_QWERTY)


@@ 121,6 123,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
                                  _______,  _______,  _______,  _______,  _______,            _______,  _______,  _______,  _______,  _______
  ),

  [_TTY] = LAYOUT(
    _______,  _______,  LCA(KC_F4), LCA(KC_F9), LCA(KC_F8), LCA(KC_F10),                                                     _______,  _______,  _______,  _______,  _______,  _______,
    _______,  _______,  LCA(KC_F3), LCA(KC_F2), LCA(KC_F1), LCA(KC_F11),                                                     _______,  _______,  _______,  _______,  _______,  _______,
    _______,  _______,  LCA(KC_F5), LCA(KC_F6), LCA(KC_F7), LCA(KC_F12), _______,  _______,            _______,  _______,  _______,  _______,  _______,  _______,  _______,  _______,
                                    _______,    _______,    _______,     _______,  _______,            QK_LLCK,  _______,  _______,  _______,  _______
  ),

  /* [_TEMPLATE] = LAYOUT( */
  /*   _______,  _______,  _______,  _______,  _______,  _______,                                                    _______,  _______,  _______,  _______,  _______,  _______, */
  /*   _______,  _______,  _______,  _______,  _______,  _______,                                                    _______,  _______,  _______,  _______,  _______,  _______, */

Do not follow this link