diff options
Diffstat (limited to 'keyboards/keebio/iris/keymaps')
| -rw-r--r-- | keyboards/keebio/iris/keymaps/nstickney/README.md | 47 | ||||
| -rw-r--r-- | keyboards/keebio/iris/keymaps/nstickney/config.h | 50 | ||||
| -rw-r--r-- | keyboards/keebio/iris/keymaps/nstickney/keymap.c | 140 | ||||
| -rw-r--r-- | keyboards/keebio/iris/keymaps/nstickney/rules.mk | 1 |
4 files changed, 64 insertions, 174 deletions
diff --git a/keyboards/keebio/iris/keymaps/nstickney/README.md b/keyboards/keebio/iris/keymaps/nstickney/README.md deleted file mode 100644 index 8124fe1cd..000000000 --- a/keyboards/keebio/iris/keymaps/nstickney/README.md +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | # nstickney's Iris Layout | ||
| 2 | |||
| 3 | > Familiar layout for users who regularly switch between Iris and more standard layouts. | ||
| 4 | |||
| 5 | [](http://www.keyboard-layout-editor.com/#/gists/aa6093ea2eb9c750ab941b92adae7036) | ||
| 6 | |||
| 7 | [](https://github.com/RichardLitt/standard-readme) | ||
| 8 | |||
| 9 | ## Install | ||
| 10 | |||
| 11 | For instructions on building and installing this keymap, see the [docs](https://docs.qmk.fm/#/getting_started_make_guide). Below is the command for me; it may be different for you. | ||
| 12 | |||
| 13 | ```sh | ||
| 14 | $ make keebio/iris/rev2:nstickney:avrdude | ||
| 15 | ``` | ||
| 16 | |||
| 17 | ## Usage | ||
| 18 | |||
| 19 | 0. QWERTY `BASE` layer. | ||
| 20 | * `/`, `\`, ` `, `[ENTER]`, `-`, and `=` on the thumb clusters. | ||
| 21 | * `CAPSLOCK` replaced by `ESC`; hold it down for `CTRL`. `'` can also be held for `CTRL`. | ||
| 22 | * [Space-Cadet Shift](https://docs.qmk.fm/#/feature_space_cadet_shift) is enabled, so the `SHIFT` keys send `(` and `)` when tapped. | ||
| 23 | * Hold down `/` or `=` for `ALT`. | ||
| 24 | * Hold down `\` or `-` to access the functions layer. | ||
| 25 | * Upper-center thumb keys are `GUI` and `MENU`. | ||
| 26 | * Tapping `GUI` 2, 3, or 4 times will toggle `NUMLOCK`, `CAPSLOCK`, or `SCROLLLOCK`, respectively. | ||
| 27 | * Tapping `MENU` 2, 3, or 4 times will toggle the `NUMP`, `SYMB`, and `SYSH` layers, respectively. | ||
| 28 | 0. Unicode-input symbols on `SYMB` and `SYSH` layers. Based (loosely) on US-International layout. | ||
| 29 | 0. `NUMP` layer has number pads on each hand. Number pad `7`-`8`-`9` align with QWERTY `7`-`8`-`9` on right hand. | ||
| 30 | 0. Function, arrow, media, and miscellaneous keys on `FCTN` layer. | ||
| 31 | * `F1` through `F10` on `1`-`10`. `F11` is on `GUI` and `F12` is on `MENU`. | ||
| 32 | * Brackets (`[` and `]`) available on `U` and `I`; braces (`{` and `}`) on `O` and `P`. | ||
| 33 | * Arrow keys on `ESDF` and `HJKL`; familiar for both Vim users and FPS gamers. | ||
| 34 | * `W` is `HOME`; `R` is `END`. `T` is `PAGE UP` and `G` is `PAGE DOWN`. | ||
| 35 | * Music controls on lower row of left hand. | ||
| 36 | * Volume and screen brightness on lower row of right hand. | ||
| 37 | * `PRINT SCREEN`, `PAUSE`, `SYSREQ`, `INSERT`, and `CLEAR` also mapped, as intelligently as possible. | ||
| 38 | * `A` toggles the RGB underglow (which changes color to indicate active layer). | ||
| 39 | * `Q` toggles the Unicode input through Linux, WinCompose, and MacOS. | ||
| 40 | |||
| 41 | ## Contribute | ||
| 42 | |||
| 43 | If you are using this layout and think you've found a better way to do something, I'd appreciate an [issue](https://github.com/nstickney/qmk_firmware/issues), or better yet a [pull request](https://github.com/nstickney/qmk_firmware/pulls). | ||
| 44 | |||
| 45 | ## License | ||
| 46 | |||
| 47 | Copyright © 2016-2019 @nstickney. Released under [GPL-2.0](/LICENSE). | ||
diff --git a/keyboards/keebio/iris/keymaps/nstickney/config.h b/keyboards/keebio/iris/keymaps/nstickney/config.h index f4899781e..da682cb92 100644 --- a/keyboards/keebio/iris/keymaps/nstickney/config.h +++ b/keyboards/keebio/iris/keymaps/nstickney/config.h | |||
| @@ -1,36 +1,20 @@ | |||
| 1 | /* | 1 | /* Copyright 2021 @nstickney |
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | 2 | * |
| 3 | 3 | * This program is free software: you can redistribute it and/or modify | |
| 4 | This program is free software: you can redistribute it and/or modify | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | it under the terms of the GNU General Public License as published by | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | the Free Software Foundation, either version 2 of the License, or | 6 | * (at your option) any later version. |
| 7 | (at your option) any later version. | 7 | * |
| 8 | 8 | * This program is distributed in the hope that it will be useful, | |
| 9 | This program is distributed in the hope that it will be useful, | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * GNU General Public License for more details. |
| 12 | GNU General Public License for more details. | 12 | * |
| 13 | 13 | * You should have received a copy of the GNU General Public License | |
| 14 | You should have received a copy of the GNU General Public License | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | */ |
| 16 | */ | ||
| 17 | 16 | ||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
| 20 | /* Use I2C or Serial, not both */ | 19 | #define RGBLED_NUM 12 |
| 21 | 20 | #define RGBLIGHT_SPLIT | |
| 22 | #define USE_SERIAL | ||
| 23 | // #define USE_I2C | ||
| 24 | |||
| 25 | /* Select hand configuration */ | ||
| 26 | |||
| 27 | #define MASTER_LEFT | ||
| 28 | // #define MASTER_RIGHT | ||
| 29 | // #define EE_HANDS | ||
| 30 | |||
| 31 | // #undef RGBLED_NUM | ||
| 32 | // #define RGBLIGHT_ANIMATIONS | ||
| 33 | // #define RGBLED_NUM 12 | ||
| 34 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 35 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 36 | // #define RGBLIGHT_VAL_STEP 8 \ No newline at end of file | ||
diff --git a/keyboards/keebio/iris/keymaps/nstickney/keymap.c b/keyboards/keebio/iris/keymaps/nstickney/keymap.c index b68923834..07c4fd28e 100644 --- a/keyboards/keebio/iris/keymaps/nstickney/keymap.c +++ b/keyboards/keebio/iris/keymaps/nstickney/keymap.c | |||
| @@ -1,99 +1,53 @@ | |||
| 1 | /* Copyright 2021 @nstickney | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 1 | #include "nstickney.h" | 16 | #include "nstickney.h" |
| 17 | #include "unicodemap.h" | ||
| 2 | 18 | ||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 4 | 20 | ||
| 5 | [BASE] = LAYOUT( | 21 | [BASE] = LAYOUT( |
| 6 | // ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ | 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, |
| 7 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, |
| 8 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | 24 | CC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, CC_QUOT, |
| 9 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | 25 | KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, TD(LOCKS), TD(LAYERS), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, |
| 10 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | 26 | AC_SLSH, FC_BSLS, KC_SPC, KC_ENT, FC_MINS, AC_EQL |
| 11 | CC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, CC_QUOT, | 27 | ), |
| 12 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | 28 | |
| 13 | KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, TD(LOCKS), TD(LAYERS),KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, | 29 | [SYMB] = LAYOUT( |
| 14 | // └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘ | 30 | _______, XP(IEX, SS1), X(SS2), X(SS3), XP(CUR, GBP), X(EUR), X(V14), X(V12), X(V34), XP(LSQ, LDQ), XP(RSQ, RDQ), _______, |
| 15 | AC_SLSH, FC_BSLS, KC_SPC, KC_ENT, FC_MINS, AC_EQL | 31 | _______, XP(A_D, AXD), XP(A_R, ACR), XP(E_A, ECA), XP(REG, CPL), X(THR), XP(U_D, UCD), XP(U_A, UCA), XP(I_A, ICA), XP(O_A, OCA), XP(O_D, OCD), _______, |
| 16 | // └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘ | 32 | _______, XP(A_A, ACA), XP(S_S, SEC), XP(ETH, ETC), X(EMD), _______, _______, _______, _______, XP(O_S, OCS), XP(PLC, DEG), XP(ACT, DIS), |
| 17 | ), | 33 | _______, XP(AEL, AEC), _______, XP(CPR, CNT), _______, _______, _______, _______, XP(N_T, NCT), X(MCR), XP(C_C, CCC), _______, _______, _______, |
| 34 | X(IQM), XP(NOT, BKB), _______, _______, X(YEN), XP(MLT, DIV) | ||
| 35 | ), | ||
| 36 | |||
| 37 | [NUMP] = LAYOUT( | ||
| 38 | _______, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, | ||
| 39 | _______, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______, | ||
| 40 | _______, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, | ||
| 41 | _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______, _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______, | ||
| 42 | _______, _______, _______, KC_PENT, _______, _______ | ||
| 43 | ), | ||
| 44 | |||
| 45 | [FCTN] = LAYOUT( | ||
| 46 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_SYSREQ, | ||
| 47 | KC_PSCR, RGB_TOG, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_LOCK, KC_LBRC, KC_RBRC, S(KC_LBRC), S(KC_RBRC), KC_INS, | ||
| 48 | KC_PAUS, RGB_VAI, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BRIU, KC_CLR, | ||
| 49 | _______, KC_MPRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_MNXT, KC_F11, KC_F12, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_BRID, _______, | ||
| 50 | _______, _______, _______, _______, _______, _______ | ||
| 51 | ) | ||
| 18 | 52 | ||
| 19 | [SYMB] = LAYOUT( | ||
| 20 | // ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ | ||
| 21 | UC(0x00EF),UC(0x00A1),UC(0x00B2),UC(0x00B3),UC(0x00A4),UC(0x20AC), UC(0x00BC),UC(0x00BD),UC(0x00BE),UC(0x2018),UC(0x2019),_______, | ||
| 22 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 23 | _______, UC(0x00E4),UC(0x00E5),UC(0x00E9),UC(0x00AE),UC(0x00FE), UC(0x00FC),UC(0x00FA),UC(0x00ED),UC(0x00F3),UC(0x00F6),_______, | ||
| 24 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 25 | _______, UC(0x00E1),UC(0x00DF),UC(0x00F0),UC(0x00EC),UC(0x00ED), UC(0x00EE),UC(0x00E0),UC(0x00E2),UC(0x00F8),UC(0x00B6),UC(0x00B4), | ||
| 26 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 27 | _______, UC(0x00E6),UC(0x00E8),UC(0x00A9),UC(0x00EA),UC(0x00EB),_______, _______, UC(0x00F1),UC(0x00FD),UC(0x00E7),UC(0x00F4),UC(0x00BF),_______, | ||
| 28 | // └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘ | ||
| 29 | UC(0x00BF),_______, UC(0x00AC), UC(0x00B1),_______, UC(0x00D7) | ||
| 30 | // └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘ | ||
| 31 | ), | ||
| 32 | |||
| 33 | [SYSH] = LAYOUT( | ||
| 34 | // ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ | ||
| 35 | UC(0x00CF),UC(0x00B9),UC(0x2200),UC(0x2201),UC(0x00A3),UC(0x00A5), UC(0x00B5),UC(0x00AB),UC(0x00BB),UC(0x201C),UC(0x201D),_______, | ||
| 36 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 37 | _______, UC(0x00C4),UC(0x00C5),UC(0x00C9),UC(0x2122),UC(0x00DE), UC(0x00DC),UC(0x00DA),UC(0x00CD),UC(0x00D3),UC(0x00D6),_______, | ||
| 38 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 39 | _______, UC(0x00C1),UC(0x00A7),UC(0x00D0),UC(0x00CC),UC(0x00CD), UC(0x00CE),UC(0x00C1),UC(0x00C2),UC(0x00D8),UC(0x00B0),UC(0x00A8), | ||
| 40 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 41 | _______, UC(0x00C6),UC(0x00C8),UC(0x00A2),UC(0x00CA),UC(0x00CB),_______, _______, UC(0x00D1),UC(0x00DD),UC(0x00C7),UC(0x00D4),UC(0x203D),_______, | ||
| 42 | // └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘ | ||
| 43 | UC(0x203D),_______, UC(0x00A6), UC(0x00AA),_______, UC(0x00F7) | ||
| 44 | // └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘ | ||
| 45 | ), | ||
| 46 | |||
| 47 | [NUMP] = LAYOUT( | ||
| 48 | // ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ | ||
| 49 | _______, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, | ||
| 50 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 51 | _______, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______, | ||
| 52 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 53 | _______, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, | ||
| 54 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 55 | _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______, _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______, | ||
| 56 | // └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘ | ||
| 57 | _______, _______, _______, KC_PENT, _______, _______ | ||
| 58 | // └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘ | ||
| 59 | ), | ||
| 60 | |||
| 61 | [FCTN] = LAYOUT( | ||
| 62 | // ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ ┌──────────┬──────────┬──────────┬──────────┬──────────┬──────────┐ | ||
| 63 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_SYSREQ, | ||
| 64 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 65 | KC_PSCR, UC_MOD, KC_HOME, KC_UP, KC_END, KC_PGUP, UC(0x2014),KC_LBRC, KC_RBRC, S(KC_LBRC),S(KC_RBRC),KC_INS, | ||
| 66 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 67 | KC_PAUS, RGB_TOG, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BRIU, KC_CLR, | ||
| 68 | // ├──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┐ ┌──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────┤ | ||
| 69 | _______, KC_MPRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_MNXT, KC_F11, KC_F12, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_BRID, _______, | ||
| 70 | // └──────────┴──────────┴──────────┴────┬─────┴────┬─────┴────┬─────┴────┬─────┘ └────┬─────┴────┬─────┴────┬─────┴────┬─────┴──────────┴──────────┴──────────┘ | ||
| 71 | _______, _______, _______, _______, _______, _______ | ||
| 72 | // └──────────┴──────────┴──────────┘ └──────────┴──────────┴──────────┘ | ||
| 73 | ) | ||
| 74 | }; | ||
| 75 | |||
| 76 | // Initialize rgblight | ||
| 77 | void keyboard_post_init_user(void) { | ||
| 78 | rgblight_enable_noeeprom(); | ||
| 79 | rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); | ||
| 80 | layer_state_set_user(layer_state); | ||
| 81 | uint16_t user_hue = rgblight_get_hue(); | ||
| 82 | for (uint16_t i = 0; i < 256; ++i) { | ||
| 83 | rgblight_sethsv_noeeprom( (i + user_hue) % 256, 255, 255); | ||
| 84 | wait_ms(5); | ||
| 85 | } | ||
| 86 | layer_state_set_user(layer_state); | ||
| 87 | }; | ||
| 88 | |||
| 89 | // Turn on RGB underglow according to active layer | ||
| 90 | layer_state_t layer_state_set_user(layer_state_t state) { | ||
| 91 | switch (biton32(state)) { | ||
| 92 | case FCTN: rgblight_sethsv_noeeprom(96, 255, 255); break; | ||
| 93 | case NUMP: rgblight_sethsv_noeeprom(162, 255, 255); break; | ||
| 94 | case SYMB: | ||
| 95 | case SYSH: rgblight_sethsv_noeeprom(227, 255, 255); break; | ||
| 96 | default: rgblight_sethsv_noeeprom(13, 255, 255); break; | ||
| 97 | } | ||
| 98 | return state; | ||
| 99 | }; | 53 | }; |
diff --git a/keyboards/keebio/iris/keymaps/nstickney/rules.mk b/keyboards/keebio/iris/keymaps/nstickney/rules.mk deleted file mode 100644 index 7ad666d1a..000000000 --- a/keyboards/keebio/iris/keymaps/nstickney/rules.mk +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | RGBLIGHT_ENABLE = yes \ No newline at end of file | ||
