[Keymap] Add thattolleyguy keymaps (#15351)
* Adding personal keymaps * Update licenses * Fix RGB settings * Define used animations Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
		| @@ -0,0 +1,54 @@ | ||||
| /* | ||||
| Copyright 2021 Tyler Tolley <thattolleyguy@gmail.com> | ||||
|  | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 2 of the License, or | ||||
| (at your option) any later version. | ||||
|  | ||||
| This program is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| GNU General Public License for more details. | ||||
|  | ||||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
|  | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
|  | ||||
| #define USE_SERIAL | ||||
| // #define USE_I2C | ||||
|  | ||||
| // #define MASTER_LEFT | ||||
| // #define MASTER_RIGHT | ||||
| #define EE_HANDS | ||||
| // Rows are doubled-up | ||||
|  | ||||
| #undef RGB_DI_PIN | ||||
| #define RGB_DI_PIN F5 | ||||
|  | ||||
| #undef SOFT_SERIAL_PIN | ||||
| #define SOFT_SERIAL_PIN D0 | ||||
| // #define DRIVER_LED_TOTAL 32 | ||||
|  | ||||
| #define RGB_MATRIX_KEYPRESSES | ||||
|  | ||||
| #ifdef RGB_MATRIX_ENABLE | ||||
| #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 80 | ||||
| #undef RGBLED_NUM | ||||
| #define RGBLED_NUM       64 // Number of LEDs | ||||
| #define DRIVER_LED_TOTAL RGBLED_NUM | ||||
| #define RGB_MATRIX_SPLIT \ | ||||
|         { 32, 32  } | ||||
| #define SPLIT_TRANSPORT_MIRROR | ||||
|  | ||||
| // #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_TYPING_HEATMAP // Sets the default mode, if none has been set | ||||
| #define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||||
| #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||||
|  | ||||
| #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||||
|  | ||||
| #endif | ||||
| @@ -0,0 +1,178 @@ | ||||
| /* | ||||
| Copyright 2021 Tyler Tolley <thattolleyguy@gmail.com> | ||||
|  | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 2 of the License, or | ||||
| (at your option) any later version. | ||||
|  | ||||
| This program is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| GNU General Public License for more details. | ||||
|  | ||||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
|  | ||||
| #include QMK_KEYBOARD_H | ||||
|  | ||||
| enum dactyl_layers { | ||||
|   _QWERTY, | ||||
|   _LOWER, | ||||
|   _RAISE, | ||||
| }; | ||||
|  | ||||
| #define RAISE MO(_RAISE) | ||||
| #define LOWER MO(_LOWER) | ||||
|  | ||||
| #define KC_CBP LCTL(KC_F11) //Clipboard previous | ||||
| #define KC_CBN LCTL(KC_F12) //Clipboard previous | ||||
| #define KC_DSKD LCA(KC_DOWN) | ||||
| #define KC_DSKU LCA(KC_UP) | ||||
|  | ||||
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||
|  | ||||
|   [_QWERTY] = LAYOUT_5x6( | ||||
|  | ||||
|  | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_ESC,  KC_1,    KC_2,    KC_3,    KC_4,    KC_5,                               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_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_BSLS, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LCTL, KC_A,    KC_S,    KC_D,    KC_F,    KC_G,                               KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_QUOT, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ┌────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,                               KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT, | ||||
|   //└────────┴────────┼────────┼────────┼────────┼────────┘                          └────────┴────────┼────────┼────────┼────────┼────────┘ | ||||
|                        KC_DSKU, KC_DSKD,                                                                KC_PGUP, KC_PGDN, | ||||
|   //                  └────────┴────────┘        ┌────────┬────────┐        ┌────────┬────────┐        └────────┴────────┘ | ||||
|                                                   LOWER,   KC_ENT,           KC_SPC,  RAISE, | ||||
|   //                                             ├────────┼────────┤        ├────────┼────────┤ | ||||
|                                                   KC_LGUI, KC_GRV,           KC_DEL,  KC_RALT, | ||||
|   //                                             ├────────┼────────┤        ├────────┼────────┤ | ||||
|                                                   KC_CBP,  KC_CBN,           KC_APP,  KC_RCTL | ||||
|   //                                             └────────┴────────┘        └────────┴────────┘ | ||||
|   ), | ||||
|  | ||||
|   [_LOWER] = LAYOUT_5x6( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      XXXXXXX, KC_VOLU, KC_MPRV, KC_MPLY, KC_MSTP, KC_MNXT,                            XXXXXXX, XXXXXXX, KC_PSLS, KC_PAST, KC_PMNS, _______, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_MUTE, KC_VOLD, RGB_M_SW,RGB_TOG, XXXXXXX, XXXXXXX,                            XXXXXXX, KC_P7,   KC_P8,   KC_P9,   KC_PPLS, XXXXXXX, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, RGB_HUI, RGB_SAI, RGB_VAI, RGB_MOD, XXXXXXX,                            XXXXXXX, KC_P4,   KC_P5,   KC_P6,   KC_EQL,  KC_PSCR, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ┌────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, RGB_HUD, RGB_SAD, RGB_VAD, RGB_RMOD,XXXXXXX,                            XXXXXXX, KC_P1,   KC_P2,   KC_P3,   KC_PDOT, _______, | ||||
|   //└────────┴────────┼────────┼────────┼────────┼────────┘                          └────────┴────────┼────────┼────────┼────────┼────────┘ | ||||
|                        KC_PGUP, KC_PGDN,                                                                KC_P0,   DEBUG, | ||||
|   //                  └────────┴────────┘        ┌────────┬────────┐        ┌────────┬────────┐        └────────┴────────┘ | ||||
|                                                   _______, _______,          _______,  _______, | ||||
|   //                                             ├────────┼────────┤        ├────────┼────────┤ | ||||
|                                                   _______, _______,          _______,  _______, | ||||
|   //                                             ├────────┼────────┤        ├────────┼────────┤ | ||||
|                                                   _______, RESET,            _______, _______ | ||||
|   //                                             └────────┴────────┘        └────────┴────────┘ | ||||
|  | ||||
|   ), | ||||
|  | ||||
|   [_RAISE] = LAYOUT_5x6( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_F12,  KC_F1,   KC_F2,   KC_F3,   KC_F4,   KC_F5,                              KC_F6,   KC_F7,   KC_F8,   KC_F9,   KC_F10,  KC_F11, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      XXXXXXX, _______, XXXXXXX, KC_UP,   XXXXXXX, XXXXXXX,                            XXXXXXX, KC_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, KC_UNDS, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGUP,                            KC_INS,  KC_HOME, KC_PPLS, KC_MINS, KC_TILD, KC_EQL, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ┌────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, KC_PGDN,                            KC_DEL,  KC_END,  XXXXXXX, XXXXXXX, XXXXXXX, _______, | ||||
|   //└────────┴────────┼────────┼────────┼────────┼────────┘                          └────────┴────────┼────────┼────────┼────────┼────────┘ | ||||
|                        DM_REC1, DM_REC2,                                                                DM_PLY1, DM_PLY2, | ||||
|   //                  └────────┴────────┘        ┌────────┬────────┐        ┌────────┬────────┐        └────────┴────────┘ | ||||
|                                                   LOWER,   KC_ENT,           KC_SPC,  RAISE, | ||||
|   //                                             ├────────┼────────┤        ├────────┼────────┤ | ||||
|                                                   KC_LGUI, KC_GRV,           KC_DEL,  KC_RALT, | ||||
|   //                                             ├────────┼────────┤        ├────────┼────────┤ | ||||
|                                                   XXXXXXX, XXXXXXX,          RESET,   XXXXXXX | ||||
|   //                                             └────────┴────────┘        └────────┴────────┘ | ||||
|   ), | ||||
| }; | ||||
|  | ||||
|  | ||||
| #ifdef RGB_MATRIX_ENABLE | ||||
|  | ||||
|   // Logical Layout | ||||
|   // Columns | ||||
|   // Left | ||||
|   // 0  1  2  3  4  5 | ||||
|   //                   ROWS | ||||
|   // 25 24 19 18 11 10   0 | ||||
|   //    03    02    01 | ||||
|   // 26 23 20 17 12 09   1 | ||||
|   //    04    05    06 | ||||
|   // 27 22 21 16 13 08   2 | ||||
|   // | ||||
|   //          15 14 07   3 | ||||
|   // | ||||
|   // Right | ||||
|   // 0  1  2  3  4  5 | ||||
|   //                    ROWS | ||||
|   // 25 24 19 18 11 10   4 | ||||
|   //    03    02    01 | ||||
|   // 26 23 20 17 12 09   5 | ||||
|   //    04    05    06 | ||||
|   // 27 22 21 16 13 08   6 | ||||
|   // | ||||
|   //          15 14 07   7 | ||||
|   // | ||||
|   // Physical Layout | ||||
|   // Columns | ||||
|   // 0  1  2  3  4  5  6  7  8  9  10 11 12 13 | ||||
|   //                                           ROWS | ||||
|   // 25 24 19 18 11 10       10 11 18 19 24 25  0 | ||||
|   //    03    02    01       01    02    03 | ||||
|   // 26 23 20 17 12 09       09 12 17 20 23 26  1 | ||||
|   //    04                               04 | ||||
|   // 27 22 21 16 13 08       08 13 16 21 22 27  2 | ||||
|   //          05    06       06    05 | ||||
|   //           15 14 07     07 14 15              3 | ||||
|  | ||||
| led_config_t g_led_config = { { | ||||
|     {      0,      1,  2,  3,      4,      5 }, | ||||
|     {     11,     10,  9,  8,      7,      6 }, | ||||
|     {     12,     13, 14, 15,     16,     17 }, | ||||
|     {     23,     22, 21, 20,     19,     18 }, | ||||
|     { NO_LED, NO_LED, 24, 25,     26,     27 }, | ||||
|     { NO_LED, NO_LED, 30, 31,     28,     29 }, | ||||
|     {     37,     36, 35, 34,     33,     32 }, | ||||
|     {     43,     42, 41, 40,     39,     38 }, | ||||
|     {     49,     48, 47, 46,     45,     44 }, | ||||
|     {     55,     54, 53, 52,     51,     50 }, | ||||
|     // {     NO_LED,     NO_LED, 57, 56, NO_LED, NO_LED}, | ||||
|     // {     NO_LED,     NO_LED, NO_LED, NO_LED, NO_LED, NO_LED } | ||||
|     {     59,     58, 57, 56, NO_LED, NO_LED}, | ||||
|     {     61,     60, 62, 63, NO_LED, NO_LED } | ||||
|  | ||||
| }, { | ||||
|     {  0,  0 }, {  17,  0 }, {  34,  0 }, {  52,  0 }, {  69,  0 }, {  86,  0 }, {  86,  9 }, {  69,  9 }, | ||||
|     {  52,  9 }, {  34,   9 }, {  17,   9 }, {  0,  9 }, {  0,  18 }, {  17,  18 }, {  34,  18 }, {  52,  18 }, | ||||
|      {  60,  18 }, {  86,   18 }, {  86,   27 }, {  69,  27 }, {  52,  27 }, {  34,  27 }, {  17,  27 }, {  0,   27 }, | ||||
|       {  34,   37 }, {   52,  37 }, {   69,  45 }, { 86,  45 }, { 103,  55 }, { 103,  64 }, { 86,  55 }, { 86,  64 }, | ||||
|  | ||||
|  | ||||
|     { 224,  0 }, { 207,  0 }, { 190,  0 }, { 172,  0 }, { 155,   0 }, { 138,   0 }, { 224,  9 }, { 207,  9 }, | ||||
|     { 190,  9 }, { 172,  9 }, { 155,  9 }, { 138,  9 }, { 224,  18 }, { 207,  18 }, { 190,  18 },{ 172,  18 }, | ||||
|     { 155,   18 }, { 138,   18 }, { 224,  27 }, { 207,  27 }, { 190,  27}, { 172,  27 },{ 155,  27 }, { 138,  27 }, | ||||
|     { 190,  37 }, { 172,  37 }, { 155,  45}, { 138,  45 }, { 121,  55 }, { 121,  64 },  { 138,  64 }, { 138,  55 } | ||||
| }, { | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2, | ||||
|     2, 2, 2, 2, 2, 2, 2, 2 | ||||
| } }; | ||||
|  | ||||
| #endif | ||||
|  | ||||
| @@ -0,0 +1,6 @@ | ||||
| RGB_MATRIX_ENABLE = yes | ||||
| RGB_MATRIX_DRIVER = WS2812 | ||||
| DYNAMIC_MACRO_ENABLE = yes | ||||
| # CONSOLE_ENABLE = yes | ||||
|  | ||||
| MOUSEKEY_ENABLE = no | ||||
							
								
								
									
										24
									
								
								keyboards/keebio/iris/keymaps/thattolleyguy/config.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								keyboards/keebio/iris/keymaps/thattolleyguy/config.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| /* | ||||
| Copyright 2021 Tyler Tolley <thattolleyguy@gmail.com> | ||||
|  | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 2 of the License, or | ||||
| (at your option) any later version. | ||||
|  | ||||
| This program is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| GNU General Public License for more details. | ||||
|  | ||||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| // #define USE_I2C | ||||
| #define EE_HANDS | ||||
| #define NO_DEBUG | ||||
| #define NO_PRINT | ||||
| #define BACKLIGHT_BREATHING | ||||
							
								
								
									
										127
									
								
								keyboards/keebio/iris/keymaps/thattolleyguy/keymap.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										127
									
								
								keyboards/keebio/iris/keymaps/thattolleyguy/keymap.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,127 @@ | ||||
| /* | ||||
| Copyright 2021 Tyler Tolley <thattolleyguy@gmail.com> | ||||
|  | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 2 of the License, or | ||||
| (at your option) any later version. | ||||
|  | ||||
| This program is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| GNU General Public License for more details. | ||||
|  | ||||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
|  | ||||
| #include QMK_KEYBOARD_H | ||||
|  | ||||
|  | ||||
| enum iris_layers { | ||||
|   _COLEMAK, | ||||
|   _QWERTY, | ||||
|   _LOWER, | ||||
|   _RAISE, | ||||
| }; | ||||
|  | ||||
| enum custom_keycodes { | ||||
|   COLEMAK = SAFE_RANGE, | ||||
|   QWERTY, | ||||
|   NUMPAD, | ||||
|   RGB_SPDU, | ||||
|   RGB_SPDD | ||||
| }; | ||||
|  | ||||
| #define L_LOWER MO(_LOWER) | ||||
| #define L_RAISE MO(_RAISE) | ||||
|  | ||||
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||
|  | ||||
|   [_COLEMAK] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_ESC,  KC_1,    KC_2,    KC_3,    KC_4,    KC_5,                               KC_6,    KC_7,    KC_8,    KC_9,    KC_0,    KC_BSPC, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_TAB,  KC_Q,    KC_W,    KC_F,    KC_P,    KC_B,                               KC_J,    KC_L,    KC_U,    KC_Y,    KC_SCLN, KC_BSLS, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LCTL, KC_A,    KC_R,    KC_S,    KC_T,    KC_G,                               KC_M,    KC_N,    KC_E,    KC_I,    KC_O,    KC_QUOT, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_D,    KC_V,    KC_GRV,           KC_DEL,  KC_K,    KC_H,    KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT, | ||||
|   //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||||
|                                     KC_LGUI, L_LOWER, KC_ENT,                    KC_SPC,  L_RAISE, KC_RALT | ||||
|                                 // └────────┴────────┴────────┘                 └────────┴────────┴────────┘ | ||||
|   ), | ||||
|  | ||||
|  | ||||
|   [_QWERTY] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_ESC,  KC_1,    KC_2,    KC_3,    KC_4,    KC_5,                               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_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_BSLS, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LCTL, KC_A,    KC_S,    KC_D,    KC_F,    KC_G,                               KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_QUOT, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    KC_GRV,           KC_DEL,  KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_RSFT, | ||||
|   //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||||
|                                     KC_LGUI, L_LOWER, KC_ENT,                    KC_SPC,  L_RAISE, KC_RALT | ||||
|                                 // └────────┴────────┴────────┘                 └────────┴────────┴────────┘ | ||||
|   ), | ||||
|  | ||||
|  | ||||
|   [_LOWER] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      XXXXXXX, KC_VOLU, KC_MPRV, KC_MPLY, KC_MSTP, KC_MNXT,                            BL_BRTG, XXXXXXX, KC_PSLS, KC_PAST, KC_PMNS, _______, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_MUTE, KC_VOLD, RGB_M_SW,RGB_TOG, XXXXXXX, XXXXXXX,                            BL_TOGG, KC_P7,   KC_P8,   KC_P9,   KC_PPLS, XXXXXXX, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, RGB_HUI, RGB_SAI, RGB_VAI, RGB_MOD, RGB_SPDU,                           BL_INC,  KC_P4,   KC_P5,   KC_P6,   KC_EQL,  KC_PSCR, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, RGB_HUD, RGB_SAD, RGB_VAD, RGB_RMOD,RGB_SPDD,_______,          _______, BL_DEC,  KC_P1,   KC_P2,   KC_P3,   KC_PDOT, _______, | ||||
|   //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||||
|                                     _______, _______, _______,                   _______, L_RAISE, KC_P0 | ||||
|                                 // └────────┴────────┴────────┘                 └────────┴────────┴────────┘ | ||||
|   ), | ||||
|  | ||||
|   [_RAISE] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_F12,  KC_F1,   KC_F2,   KC_F3,   KC_F4,   KC_F5,                              KC_F6,   KC_F7,   KC_F8,   KC_F9,   KC_F10,  KC_F11, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      XXXXXXX, COLEMAK, DM_REC1, KC_UP,   DM_REC2, XXXXXXX,                            XXXXXXX, KC_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, KC_UNDS, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, QWERTY,  KC_LEFT, KC_DOWN, KC_RGHT, KC_PGUP,                            KC_INS,  KC_HOME, KC_PPLS, KC_MINS, KC_TILD, KC_EQL, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, DF(2),   DM_PLY1, XXXXXXX, DM_PLY2, KC_PGDN, XXXXXXX,          XXXXXXX, KC_DEL,  KC_END,  XXXXXXX, XXXXXXX, XXXXXXX, _______, | ||||
|   //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘ | ||||
|                                     _______, _______, _______,                   XXXXXXX, _______, _______ | ||||
|                                 // └────────┴────────┴────────┘                 └────────┴────────┴────────┘ | ||||
|   ) | ||||
| }; | ||||
|  | ||||
| bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||||
|   switch (keycode) { | ||||
|     case QWERTY: | ||||
|       if (record->event.pressed) { | ||||
|         set_single_persistent_default_layer(_QWERTY); | ||||
|       } | ||||
|       return false; | ||||
|       break; | ||||
|     case COLEMAK: | ||||
|       if (record->event.pressed) { | ||||
|         set_single_persistent_default_layer(_COLEMAK); | ||||
|       } | ||||
|       return false; | ||||
|       break; | ||||
|    case RGB_SPDD: | ||||
|       if (record->event.pressed) { | ||||
|          rgblight_decrease_speed(); | ||||
|       } | ||||
|       return false; | ||||
|    case RGB_SPDU: | ||||
|       if (record->event.pressed) { | ||||
|          rgblight_increase_speed(); | ||||
|       } | ||||
|       return false; | ||||
|   } | ||||
|   return true; | ||||
| } | ||||
|  | ||||
							
								
								
									
										2
									
								
								keyboards/keebio/iris/keymaps/thattolleyguy/rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								keyboards/keebio/iris/keymaps/thattolleyguy/rules.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| DYNAMIC_MACRO_ENABLE = yes | ||||
| MOUSEKEY_ENABLE = no | ||||
							
								
								
									
										41
									
								
								keyboards/redox/keymaps/thattolleyguy/config.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								keyboards/redox/keymaps/thattolleyguy/config.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| /* | ||||
| Copyright 2021 Tyler Tolley <thattolleyguy@gmail.com> | ||||
|  | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 2 of the License, or | ||||
| (at your option) any later version. | ||||
|  | ||||
| This program is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| GNU General Public License for more details. | ||||
|  | ||||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
|  | ||||
| #pragma once | ||||
|  | ||||
| /* Use I2C or Serial, not both */ | ||||
| #define USE_SERIAL | ||||
|  | ||||
| /* Select hand configuration */ | ||||
| // #define MASTER_LEFT | ||||
| #define EE_HANDS | ||||
|  | ||||
| #undef RGBLED_NUM | ||||
| #undef RGB_DI_PIN | ||||
| #define RGB_DI_PIN C6 | ||||
| #define RGBLED_NUM 14    // Number of LEDs | ||||
| #define RGBLED_SPLIT { 7, 7 } | ||||
| #define RGBLIGHT_EFFECT_BREATHING | ||||
| #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||
| #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||
| #define RGBLIGHT_EFFECT_SNAKE | ||||
| #define RGBLIGHT_EFFECT_KNIGHT | ||||
| #define RGBLIGHT_EFFECT_CHRISTMAS | ||||
| #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||
| #define RGBLIGHT_EFFECT_RGB_TEST | ||||
| #define RGBLIGHT_EFFECT_ALTERNATING | ||||
| #define RGBLIGHT_EFFECT_TWINKLE | ||||
							
								
								
									
										89
									
								
								keyboards/redox/keymaps/thattolleyguy/keymap.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								keyboards/redox/keymaps/thattolleyguy/keymap.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,89 @@ | ||||
| /* | ||||
| Copyright 2021 Tyler Tolley <thattolleyguy@gmail.com> | ||||
|  | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
| the Free Software Foundation, either version 2 of the License, or | ||||
| (at your option) any later version. | ||||
|  | ||||
| This program is distributed in the hope that it will be useful, | ||||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
| GNU General Public License for more details. | ||||
|  | ||||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>. | ||||
| */ | ||||
|  | ||||
| #include QMK_KEYBOARD_H | ||||
|  | ||||
| // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||||
| // 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. | ||||
|  | ||||
| enum dactyl_layers { | ||||
|   _QWERTY, | ||||
|   _NUM, | ||||
|   _SYMB, | ||||
|   _ADJUST | ||||
| }; | ||||
|  | ||||
| enum custom_keycodes { | ||||
|   QWERTY = SAFE_RANGE, | ||||
|   SYMB, | ||||
|   NUM, | ||||
| }; | ||||
|  | ||||
| // Shortcut to make keymap more readable | ||||
| #define L_SYM  MO(_SYMB) | ||||
| #define L_NUM  MO(_NUM) | ||||
| #define KC_DSKL LGUI(KC_PGUP) | ||||
| #define KC_DSKR LGUI(KC_PGDN) | ||||
| #define KC_CBP LCTL(KC_F11) //Clipboard previous | ||||
| #define KC_CBN LCTL(KC_F12) //Clipboard previous | ||||
|  | ||||
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||
|  | ||||
|   [_QWERTY] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                                           ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_ESC , KC_1    ,KC_2    ,KC_3    ,KC_4    ,KC_5    ,                                            KC_6    ,KC_7    ,KC_8    ,KC_9    ,KC_0    ,KC_BSPC , | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐                         ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_TAB  ,KC_Q    ,KC_W    ,KC_E    ,KC_R    ,KC_T    ,DM_REC1 ,                          DM_REC2 ,KC_Y    ,KC_U    ,KC_I    ,KC_O    ,KC_P    ,KC_BSLS , | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┤                         ├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LCTL ,KC_A    ,KC_S    ,KC_D    ,KC_F    ,KC_G    ,DM_PLY1 ,                          DM_PLY2 ,KC_H    ,KC_J    ,KC_K    ,KC_L    ,KC_SCLN ,KC_QUOT , | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┐       ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_LSFT ,KC_Z    ,KC_X    ,KC_C    ,KC_V    ,KC_B    ,XXXXXXX ,KC_GRV  ,        KC_DEL  ,KC_INS  ,KC_N    ,KC_M    ,KC_COMM ,KC_DOT  ,KC_SLSH ,KC_RSFT , | ||||
|   //├────────┼────────┼────────┼────────┼────┬───┴────┬───┼────────┼────────┤       ├────────┼────────┼───┬────┴───┬────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_CBP  ,KC_CBN  ,KC_DSKL ,KC_DSKR,      KC_LGUI ,    L_NUM   ,KC_ENT  ,        KC_SPC  ,L_SYM  ,     KC_RALT ,     KC_PGUP ,KC_PGDN ,KC_APP  ,KC_RCTL | ||||
|   //└────────┴────────┴────────┴────────┘    └────────┘   └────────┴────────┘       └────────┴────────┘   └────────┘    └────────┴────────┴────────┴────────┘ | ||||
|   ), | ||||
|  | ||||
|     [_NUM] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                                           ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      XXXXXXX, KC_VOLU, KC_MPRV, KC_MPLY, KC_MSTP, KC_MNXT,                                             XXXXXXX ,XXXXXXX, KC_PSLS, KC_PAST, KC_PMNS, _______, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐                         ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      KC_MUTE, KC_VOLD, RGB_M_SW,RGB_TOG, XXXXXXX, XXXXXXX, _______ ,                          _______ ,XXXXXXX ,KC_P7   ,KC_P8   ,KC_P9   ,KC_PMNS ,XXXXXXX , | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┤                         ├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, RGB_HUI, RGB_SAI, RGB_VAI, RGB_MOD, XXXXXXX, _______ ,                          _______ ,KC_PAST ,KC_P4   ,KC_P5   ,KC_P6   ,KC_PPLS ,XXXXXXX , | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┐       ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______, RGB_HUD, RGB_SAD, RGB_VAD, RGB_RMOD,XXXXXXX, _______ ,_______ ,        _______ ,_______ ,XXXXXXX ,KC_P1   ,KC_P2   ,KC_P3   ,KC_PENT ,XXXXXXX , | ||||
|   //├────────┼────────┼────────┼────────┼────┬───┴────┬───┼────────┼────────┤       ├────────┼────────┼───┬────┴───┬────┼────────┼────────┼────────┼────────┤ | ||||
|      XXXXXXX ,RESET   ,XXXXXXX ,XXXXXXX ,     KC_BTN1 ,    KC_BTN2 ,_______ ,        _______ ,_______ ,    KC_P0   ,     KC_P0   ,KC_PDOT ,KC_PENT ,KC_PSCR | ||||
|   //└────────┴────────┴────────┴────────┘    └────────┘   └────────┴────────┘       └────────┴────────┘   └────────┘    └────────┴────────┴────────┴────────┘ | ||||
|   ), | ||||
|  | ||||
|   [_SYMB] = LAYOUT( | ||||
|   //┌────────┬────────┬────────┬────────┬────────┬────────┐                                           ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||||
|      KC_F12  ,KC_F1   ,KC_F2   ,KC_F3   ,KC_F4   ,KC_F5   ,                                            KC_F6   ,KC_F7   ,KC_F8   ,KC_F9   ,KC_F10  ,KC_F11 , | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐                         ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______ ,XXXXXXX ,XXXXXXX ,KC_UP   ,XXXXXXX ,XXXXXXX ,_______ ,                          _______ ,XXXXXXX ,KC_LCBR, KC_RCBR, KC_LBRC, KC_RBRC, KC_UNDS, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┤                         ├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______ ,XXXXXXX ,KC_LEFT ,KC_DOWN ,KC_RIGHT,XXXXXXX ,_______ ,                          _______ ,KC_INS  ,KC_HOME ,KC_PPLS, KC_MINS, KC_TILD, KC_EQL, | ||||
|   //├────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┐       ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||||
|      _______ ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,XXXXXXX ,_______ ,_______ ,        _______ ,_______ ,XXXXXXX ,KC_END  ,XXXXXXX ,XXXXXXX ,XXXXXXX ,_______ , | ||||
|   //├────────┼────────┼────────┼────────┼────┬───┴────┬───┼────────┼────────┤       ├────────┼────────┼───┬────┴───┬────┼────────┼────────┼────────┼────────┤ | ||||
|      _______ ,_______ ,_______ ,_______ ,     _______ ,    _______ ,_______ ,        _______ ,_______ ,    XXXXXXX ,     XXXXXXX ,XXXXXXX ,RESET   ,XXXXXXX | ||||
|   //└────────┴────────┴────────┴────────┘    └────────┘   └────────┴────────┘       └────────┴────────┘   └────────┘    └────────┴────────┴────────┴────────┘ | ||||
|   ) | ||||
| }; | ||||
							
								
								
									
										1
									
								
								keyboards/redox/keymaps/thattolleyguy/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/redox/keymaps/thattolleyguy/readme.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| # The default keymap for Redox | ||||
							
								
								
									
										1
									
								
								keyboards/redox/keymaps/thattolleyguy/rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/redox/keymaps/thattolleyguy/rules.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| DYNAMIC_MACRO_ENABLE = yes | ||||
		Reference in New Issue
	
	Block a user