Skip to content

Commit 1ec6489

Browse files
authored
[Keymap] Add the fsck layout for iris (qmk#8473)
1 parent 427f7b3 commit 1ec6489

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
Copyright 2017 Danny Nguyen <[email protected]>
3+
4+
This program is free software: you can redistribute it and/or modify
5+
it under the terms of the GNU General Public License as published by
6+
the Free Software Foundation, either version 2 of the License, or
7+
(at your option) any later version.
8+
9+
This program is distributed in the hope that it will be useful,
10+
but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
GNU General Public License for more details.
13+
14+
You should have received a copy of the GNU General Public License
15+
along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
18+
#pragma once
19+
20+
// #define USE_I2C
21+
#define EE_HANDS
22+
23+
#undef RGBLED_NUM
24+
#define RGBLIGHT_ANIMATIONS
25+
#define RGBLED_NUM 12
26+
#define RGBLIGHT_HUE_STEP 8
27+
#define RGBLIGHT_SAT_STEP 8
28+
#define RGBLIGHT_VAL_STEP 8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#include QMK_KEYBOARD_H
2+
3+
4+
#define _QWERTY 0
5+
#define _RAISE 1
6+
7+
enum custom_keycodes {
8+
QWERTY = SAFE_RANGE,
9+
RAISE,
10+
};
11+
12+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
13+
14+
[_QWERTY] = LAYOUT(
15+
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
16+
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
17+
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
18+
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
19+
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
20+
KC_DEL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
21+
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
22+
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_ENT, KC_SPC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
23+
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
24+
KC_LCTL, MO(_RAISE), KC_ENT, KC_SPC, KC_LGUI, KC_LALT
25+
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
26+
),
27+
[_RAISE] = LAYOUT(
28+
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
29+
KC_F12, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
30+
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
31+
_______, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, _______, KC_UNDS, KC_PLUS, _______, _______, _______,
32+
//├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
33+
KC_ESC, KC_LEFT, KC_DOWN, KC_RIGHT, KC_PGDN, KC_UNDS, _______, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, _______,
34+
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
35+
_______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, _______, _______, _______, _______, KC_NUHS, KC_NUBS, KC_VOLD, KC_VOLU, _______,
36+
//└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
37+
_______, _______, _______, _______, _______, _______
38+
// └────────┴────────┴────────┘ └────────┴────────┴────────┘
39+
),
40+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
![iris:fsck Layout Image](https://i.imgur.com/C2XtWR5.png)
2+
3+
# fsck's Iris Layout

0 commit comments

Comments
 (0)