Skip to content

Commit

Permalink
add keymap scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
iliorik authored Dec 18, 2024
1 parent 2c8199b commit a43e0f3
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions keyboards/handwired/dactyl_manuform/5x8/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,35 @@
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
// Layer names don't all need to be of the same length, obviously, and you can also skip them
// entirely and just use numbers.
#define _QWERTY 0
#define _FN 1
#define _NUMPAD 2

// Some basic macros
#define TASK LCTL(LSFT(KC_ESC))
#define TAB_R LCTL(KC_TAB)
#define TAB_L LCTL(LSFT(KC_TAB))
#define TAB_RO LCTL(LSFT(KC_T))

/* Base (qwerty)
* ,-------------------------------------------------------, ,-------------------------------------------------------,
* | | Esc | 1 | 2 | 3 | 4 | 5 | 6 | | 7 | 8 | 9 | 0 | - | = | - | BS |
* |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
* | | Tab | q | w | e | r | t | | | | y | u | i | o | p | [ | ] |
* |------+------+------+------+------+------+------+------| |------+------+------+------+------+------+------+------|
* | | Caps | a | s | d | f | g | | | | h | j | k | l | ; | " |ENTER |
* |------+------+------+------+------+------+------+------' '------+------+------+------+------+------+------+------|
* | | Shift| z | x | c | v | b | | n | m | , | . | ' |Shift | Ctrl |
* |------+------+------+------+------+------+------' '------+------+------+------+------+------+------'
* | Ctrl | Wint | Alt | Fn | | Up | Down | Left | Right|
* '------+------+------+------+------, ,------+------+------+------+------'
* | |SPACE | | SPACE| BS |
* '------+------+------' ,------+------+------'
* | ESC |ENTER | | HOME | END |
* '------+------' '------+------'
* | DEL | F2 | | PGUP | PGDN |
* '------+------' '------+------'
*/

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = LAYOUT_5x8(
[0] = LAYOUT_5x8(
// left hand
KC_A, KC_B, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6,
KC_C, KC_D, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC,
Expand Down

0 comments on commit a43e0f3

Please sign in to comment.