mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-15 06:10:53 +00:00
5e4b076af3
* `KC_SLCK` -> `KC_SCRL` * `KC_NLCK` -> `KC_NUM`
117 lines
10 KiB
C
117 lines
10 KiB
C
#include QMK_KEYBOARD_H
|
|
|
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
/*
|
|
*
|
|
* ,--------------------------------------------------. ,--------------------------------------------------.
|
|
* | ESC | 1 | 2 | 3 | 4 | 5 | - | | = | 6 | 7 | 8 | 9 | 0 | Bsp |
|
|
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
|
* | Tab | Q | W | E | R | T | PgUp | | [ | Y | U | I | O | P | \ |
|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
|
* | Caps | A | S | D | F | G |------| |------| H | J | K | L | ; | Enter |
|
|
* |--------+------+------+------+------+------| PgDn | | ] |------+------+------+------+------+--------|
|
|
* | LShift | Z | X | C | V | B | | | | N | M | , | . | Up |M2/Shift|
|
|
* `--------+------+------+---------------------------' `---------------------------+------+------+--------'
|
|
* | Ctrl | Gui | Alt | | Left | Down| Right |
|
|
* `--------------------' `--------------------'
|
|
* ,-------------. ,---------------.
|
|
* | | Ins | | Home | |
|
|
* | Space|------| |------|M1/Space|
|
|
* | | Del | | End | |
|
|
* `-------------' `---------------'
|
|
*/
|
|
[0] = LAYOUT(
|
|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_PGUP, KC_LBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
|
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
|
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_RBRC, KC_N, KC_M, KC_COMM,KC_DOT, KC_UP, LM(2,MOD_RSFT),
|
|
KC_LCTL, KC_LGUI,KC_LALT, KC_LEFT,KC_DOWN, KC_RGHT,
|
|
KC_SPC, KC_INS, KC_HOME, LT(1,KC_SPC),
|
|
KC_NO , KC_DEL, KC_END, KC_NO
|
|
),
|
|
/*
|
|
*
|
|
* ,--------------------------------------------------. ,--------------------------------------------------.
|
|
* | ~ | F1 | F2 | F3 | F4 | F5 | F11 | | F12 | F6 | F7 | F8 | F9 | F10 | Del |
|
|
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
|
* | | | | | | | | | | | | | | | |
|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
|
* | | | | | | |------| |------| | | | | | ' |
|
|
* |--------+------+------+------+------+------| | | M3 |------+------+------+------+------+--------|
|
|
* | | Mute | Vol- | Vol+ | | | | | | | | | | / | |
|
|
* `--------+------+------+---------------------------' `---------------------------+------+------+--------'
|
|
* | | | | | | | |
|
|
* `--------------------' `--------------------'
|
|
* ,-------------. ,---------------.
|
|
* | | | | | |
|
|
* | |------| |------| |
|
|
* | | | | | |
|
|
* `-------------' `---------------'
|
|
*/
|
|
[1] = LAYOUT(
|
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11, KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_QUOT,
|
|
_______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, TG(3), _______, _______, _______, _______, KC_SLSH, _______,
|
|
_______, _______, _______, _______, _______, _______,
|
|
_______, _______, _______, _______,
|
|
_______, _______, _______, _______
|
|
),
|
|
/*
|
|
*
|
|
* ,--------------------------------------------------. ,--------------------------------------------------.
|
|
* | | | | | | | | | | | | | | | |
|
|
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
|
* | | | | | | | | | | | | | | | |
|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
|
* | | | | | | |------| |------| | | | | | ' |
|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
|
* | | | | | | | | | | | | | | / | |
|
|
* `--------+------+------+---------------------------' `---------------------------+------+------+--------'
|
|
* | | | | | | | |
|
|
* `--------------------' `--------------------'
|
|
* ,-------------. ,---------------.
|
|
* | | | | | |
|
|
* | |------| |------| |
|
|
* | | | | | |
|
|
* `-------------' `---------------'
|
|
*/
|
|
[2] = LAYOUT(
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_QUOT,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLSH, _______,
|
|
_______, _______, _______, _______, _______, _______,
|
|
_______, _______, _______, _______,
|
|
_______, _______, _______, _______
|
|
),
|
|
/*
|
|
*
|
|
* ,--------------------------------------------------. ,--------------------------------------------------.
|
|
* | | | | | | | | | | | Calc |NumLoc| / | * | - |
|
|
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
|
* | | | | | | | | | | | | 7 | 8 | 9 | + |
|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
|
* | | | | | | |------| |------| | | 4 | 5 | 6 | = |
|
|
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
|
* | | | | | | | | | | | | 1 | 2 | 3 | Enter |
|
|
* `--------+------+------+---------------------------' `---------------------------+------+------+--------'
|
|
* | | | | | 0 | . | Enter|
|
|
* `--------------------' `--------------------'
|
|
* ,-------------. ,---------------.
|
|
* | | | | | |
|
|
* | |------| |------| |
|
|
* | | | | | |
|
|
* `-------------' `---------------'
|
|
*/
|
|
[3] = LAYOUT(
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_CALC, KC_NUM, KC_PSLS,KC_PAST,KC_PMNS,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P7, KC_P8, KC_P9, KC_PPLS,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, KC_P4, KC_P5, KC_P6, KC_PEQL,
|
|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_P1, KC_P2, KC_P3, KC_PENT,
|
|
_______, _______, _______, KC_P0, KC_PDOT,KC_PENT,
|
|
_______, _______, _______, _______,
|
|
_______, _______, _______, _______
|
|
),
|
|
};
|