Remove userspace keymaps (#22544)
This commit is contained in:
		
							parent
							
								
									4908d4b1ca
								
							
						
					
					
						commit
						1ed03f498f
					
				
					 2738 changed files with 0 additions and 207314 deletions
				
			
		| 
						 | 
				
			
			@ -1,33 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
  Copyright (c) 2020 Fred Silberberg
 | 
			
		||||
 | 
			
		||||
  Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
  of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
  in the Software without restriction, including without limitation the rights
 | 
			
		||||
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
  copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
  furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
  The above copyright notice and this permission notice shall be included in all
 | 
			
		||||
  copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
			
		||||
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | 
			
		||||
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 | 
			
		||||
  THE SOFTWARE.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define EE_HANDS
 | 
			
		||||
#define NO_ACTION_MACRO
 | 
			
		||||
 | 
			
		||||
#undef TAPPING_TERM
 | 
			
		||||
#define TAPPING_TERM 200
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#define RGBLED_NUM 24
 | 
			
		||||
#define RGBLIGHT_SLEEP
 | 
			
		||||
| 
						 | 
				
			
			@ -1,76 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
  Copyright (c) 2020 Fred Silberberg
 | 
			
		||||
 | 
			
		||||
  Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
  of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
  in the Software without restriction, including without limitation the rights
 | 
			
		||||
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
  copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
  furnished to do so, subject to the following conditions:
 | 
			
		||||
 | 
			
		||||
  The above copyright notice and this permission notice shall be included in all
 | 
			
		||||
  copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
			
		||||
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | 
			
		||||
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 | 
			
		||||
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 | 
			
		||||
  THE SOFTWARE.
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "333fred.h"
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
  [BASE] = LAYOUT(
 | 
			
		||||
  //┌──────────────┬────────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬──────────────┐
 | 
			
		||||
     KC_GRV,        KC_1,        KC_2,    KC_3,    KC_4,    KC_5,                               KC_6,    KC_7,    KC_8,    KC_9,    KC_0,    KC_MINS,
 | 
			
		||||
  //├──────────────┼────────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼──────────────┤
 | 
			
		||||
     KC_TAB,        KC_Q,        KC_W,    KC_E,    KC_R,    KC_T,                               KC_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_BSLS,
 | 
			
		||||
  //├──────────────┼────────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼──────────────┤
 | 
			
		||||
     CTL_T(KC_ESC), KC_A,        KC_S,    KC_D,    KC_F,    KC_G,                               KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_QUOT,
 | 
			
		||||
  //├──────────────┼────────────┼────────┼────────┼────────┼────────┼───────────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼──────────────┤
 | 
			
		||||
     OSM(MOD_LSFT), CTL_T(KC_Z), KC_X,    KC_C,    KC_V,    KC_B,    KC_DEL,           KC_DOWN, KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, OSM(MOD_RSFT),
 | 
			
		||||
  //└──────────────┴────────────┴────────┴────────┼────────┼────────┼───────────────┤ ├────────┼────────┼────────┼────────┴────────┴────────┴──────────────┘
 | 
			
		||||
                                                   KC_LALT, KC_BSPC, TD(TD_SYM_VIM),   KC_ENT,  KC_SPC,  KC_RGUI
 | 
			
		||||
                                               // └────────┴────────┴───────────────┘ └────────┴────────┴────────┘
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  [SYMB] = LAYOUT(
 | 
			
		||||
  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
     _______, KC_F1,   KC_F2,   KC_F3,   KC_F4,   KC_F5,                              KC_F6,   KC_F7,   KC_F8,   KC_F9,   KC_F10,  KC_F11,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
     _______, KC_EXLM, KC_AT,   KC_LPRN, KC_RPRN, KC_PLUS,                            _______, KC_7,    KC_8,    KC_9,    _______, KC_F12,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
     _______, KC_HASH, KC_DLR,  KC_LCBR, KC_RCBR, KC_EQL,                             _______, KC_4,    KC_5,    KC_6,    _______, KC_VOLU,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
     _______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_UP,            KC_UP,   KC_0,    KC_1,    KC_2,    KC_3,    _______, KC_VOLD,
 | 
			
		||||
  //└────────┴────────┴────────┴───┬────┴───┬────┴───────┴─────┬───┴────┐   └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                    _______, TD(TD_COPY_PASTE), _______,         KC_MPRV, KC_MPLY, KC_MNXT
 | 
			
		||||
                                // └────────┴──────────────────┴────────┘       └────────┴────────┴────────┘
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  [VIM] = LAYOUT(
 | 
			
		||||
  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
     _______, _______, _______, _______, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
     _______, _______, _______, _______, KC_LSFT, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
     _______, DLEFT,   DRIGHT,  KC_LCTL, KC_LGUI, _______,                            KC_LEFT, KC_DOWN, KC_UP,   KC_RGHT, _______, _______,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
     _______, _______, _______, _______, _______, _______, _______,          _______, _______, _______, _______, _______, _______, _______,
 | 
			
		||||
  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                    _______, _______, _______,                   _______, _______, _______
 | 
			
		||||
                                // └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
  ),
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
    tap_dance_process_keycode(keycode);
 | 
			
		||||
    return !try_handle_macro(keycode, record);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,3 +0,0 @@
 | 
			
		|||
KEY_LOCK_ENABLE = yes
 | 
			
		||||
CONSOLE_ENABLE = no
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -1,39 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2017 Danny Nguyen <danny@keeb.io>
 | 
			
		||||
 | 
			
		||||
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 EE_HANDS
 | 
			
		||||
 | 
			
		||||
#define NO_ACTION_MACRO
 | 
			
		||||
#define NO_ACTION_FUNCTION
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#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
 | 
			
		||||
#define RGBLED_NUM 12
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
| 
						 | 
				
			
			@ -1,87 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2020 Constantine Chen @csc027
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
#include "csc027.h"
 | 
			
		||||
 | 
			
		||||
#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
    [_QW] = LAYOUT_wrapper(
 | 
			
		||||
        _____________________QWERTY_L1_____________________,                            _____________________QWERTY_R1_____________________,
 | 
			
		||||
        _____________________QWERTY_L2_____________________,                            _____________________QWERTY_R2_____________________,
 | 
			
		||||
        _____________________QWERTY_L3_____________________,                            _____________________QWERTY_R3_____________________,
 | 
			
		||||
        _____________________QWERTY_L4_____________________, KC_SPC,           KC_SPC,  _____________________QWERTY_R4_____________________,
 | 
			
		||||
                                   KC_LGUI,  KC_LALT,  KC_SPC,                    KC_SPC,   KC_RALT,  KC_RGUI
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_RS] = LAYOUT_wrapper(
 | 
			
		||||
        ______________________RAISE_L1_____________________,                            ______________________RAISE_R1_____________________,
 | 
			
		||||
        ______________________RAISE_L2_____________________,                            ______________________RAISE_R2_____________________,
 | 
			
		||||
        ______________________RAISE_L3_____________________,                            ______________________RAISE_R3_____________________,
 | 
			
		||||
        ______________________RAISE_L4_____________________, _______,          _______, ______________________RAISE_R4_____________________,
 | 
			
		||||
                                   _______,  _______,  _______,                   _______,  _______,  _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_LW] = LAYOUT_wrapper(
 | 
			
		||||
        ______________________LOWER_L1_____________________,                            ______________________LOWER_R1_____________________,
 | 
			
		||||
        ______________________LOWER_L2_____________________,                            ______________________LOWER_R2_____________________,
 | 
			
		||||
        ______________________LOWER_L3_____________________,                            ______________________LOWER_R3_____________________,
 | 
			
		||||
        ______________________LOWER_L4_____________________, _______,          _______, ______________________LOWER_R4_____________________,
 | 
			
		||||
                                   _______,  _______,  _______,                   _______,  _______,  _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_MS] = LAYOUT_wrapper(
 | 
			
		||||
        ______________________MOUSE_L1_____________________,                            ______________________MOUSE_R1_____________________,
 | 
			
		||||
        ______________________MOUSE_L2_____________________,                            ______________________MOUSE_R2_____________________,
 | 
			
		||||
        ______________________MOUSE_L3_____________________,                            ______________________MOUSE_R3_____________________,
 | 
			
		||||
        ______________________MOUSE_L4_____________________, _______,          _______, ______________________MOUSE_R4_____________________,
 | 
			
		||||
                                   _______,  _______,  _______,                   _______,  _______,  _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_WT] = LAYOUT_wrapper(
 | 
			
		||||
        ________________WINDOWS_TERMINAL_L1________________,                            ________________WINDOWS_TERMINAL_R1________________,
 | 
			
		||||
        ________________WINDOWS_TERMINAL_L2________________,                            ________________WINDOWS_TERMINAL_R2________________,
 | 
			
		||||
        ________________WINDOWS_TERMINAL_L3________________,                            ________________WINDOWS_TERMINAL_R3________________,
 | 
			
		||||
        ________________WINDOWS_TERMINAL_L4________________, _______,          _______, ________________WINDOWS_TERMINAL_R4________________,
 | 
			
		||||
                                   _______,  _______,  _______,                   _______,  _______,  _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_CN] = LAYOUT_wrapper(
 | 
			
		||||
        ___________________CONVENIENCE_L1__________________,                            ___________________CONVENIENCE_R1__________________,
 | 
			
		||||
        ___________________CONVENIENCE_L2__________________,                            ___________________CONVENIENCE_R2__________________,
 | 
			
		||||
        ___________________CONVENIENCE_L3__________________,                            ___________________CONVENIENCE_R3__________________,
 | 
			
		||||
        ___________________CONVENIENCE_L4__________________, _______,          _______, ___________________CONVENIENCE_R4__________________,
 | 
			
		||||
                                   _______,  _______,  _______,                   _______,  _______,  _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_GG] = LAYOUT(
 | 
			
		||||
        KC_5,    KC_GRV,  KC_1,    KC_2,    KC_3,    KC_4,                              KC_6,    KC_7,    KC_8,    KC_9,    KC_0,    KC_BSPC,
 | 
			
		||||
        KC_T,    KC_TAB,  KC_Q,    KC_W,    KC_E,    KC_R,                              KC_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_BSLS,
 | 
			
		||||
        KC_G,    MC_LSEC, KC_A,    KC_S,    KC_D,    KC_F,                              KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_ENT,
 | 
			
		||||
        KC_B,    KC_LCTL, KC_Z,    KC_X,    KC_C,    KC_SPC,  KC_SPC,          _______, KC_N,    KC_M,    KC_COMM, KC_DOT,  TO(_CS), TO(_QW),
 | 
			
		||||
                                   KC_LALT,  KC_V,     KC_SPC,                    _______,  KC_M,     KC_B
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_CS] = LAYOUT(
 | 
			
		||||
        XXXXXXX, KC_5,    KC_1,    KC_2,    KC_3,    KC_4,                               KC_6,    KC_P7,   KC_P8,   KC_P9,   KC_0,    KC_BSPC,
 | 
			
		||||
        XXXXXXX, KC_TAB,  KC_Q,    KC_W,    KC_E,    KC_R,                               KC_Y,    KC_P4,   KC_P5,   KC_P6,   XXXXXXX, KC_NUM,
 | 
			
		||||
        KC_G,    KC_LSFT, KC_A,    KC_S,    KC_D,    KC_F,                               KC_H,    KC_P1,   KC_P2,   KC_P3,   KC_PENT, KC_ESC,
 | 
			
		||||
        XXXXXXX, KC_LCTL, XXXXXXX, KC_X,    XXXXXXX, XXXXXXX, KC_SPC,           _______, KC_N,    KC_P0,   KC_P0,   KC_PDOT, TO(_QW), TO(_QW),
 | 
			
		||||
                                   KC_B,     KC_SPC,   KC_SPC,                    _______,  KC_N,     KC_P0
 | 
			
		||||
    )
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +0,0 @@
 | 
			
		|||
BACKLIGHT_ENABLE = yes
 | 
			
		||||
CONSOLE_ENABLE = no
 | 
			
		||||
EXTRAKEY_ENABLE = yes
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
MOUSEKEY_ENABLE = yes
 | 
			
		||||
NKRO_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -1,75 +0,0 @@
 | 
			
		|||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're  (@drashna) <drashna@live.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 EE_HANDS
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
#    undef RGBLED_NUM
 | 
			
		||||
#    define RGBLED_NUM 18  // Number of LEDs
 | 
			
		||||
#    undef RGBLED_SPLIT
 | 
			
		||||
#    define RGBLED_SPLIT \
 | 
			
		||||
        { 9, 9 }
 | 
			
		||||
#    define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#    define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#    define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
#    define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
 | 
			
		||||
#    define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
 | 
			
		||||
 | 
			
		||||
#    ifndef RGBLIGHT_LIMIT_VAL
 | 
			
		||||
#       define RGBLIGHT_LIMIT_VAL 225
 | 
			
		||||
#    endif
 | 
			
		||||
#endif  // RGBLIGHT_ENABLE
 | 
			
		||||
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
#    define AUDIO_PIN C6
 | 
			
		||||
#    ifdef RGBLIGHT_ENABLE
 | 
			
		||||
#        ifndef __arm__
 | 
			
		||||
#            define NO_MUSIC_MODE
 | 
			
		||||
#        endif
 | 
			
		||||
#    endif  // RGBLIGHT_ENABLE
 | 
			
		||||
#endif      // AUDIO_ENABLE
 | 
			
		||||
 | 
			
		||||
#if defined(KEYBOARD_keebio_iris_rev1) || defined(KEYBOARD_keebio_iris_rev2)
 | 
			
		||||
#    define QMK_ESC_OUTPUT F6  // usually COL
 | 
			
		||||
#    define QMK_ESC_INPUT D7   // usually ROW
 | 
			
		||||
#    define QMK_LED B0
 | 
			
		||||
#    define QMK_SPEAKER C6
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(KEYBOARD_keebio_iris_rev2)
 | 
			
		||||
#    undef PRODUCT
 | 
			
		||||
#    define PRODUCT "Drashna Hacked Iris Rev 2"
 | 
			
		||||
#elif defined(KEYBOARD_keebio_iris_rev3)
 | 
			
		||||
#    undef PRODUCT
 | 
			
		||||
#    define PRODUCT "Drashna Hacked Iris Rev 3"
 | 
			
		||||
#elif defined(KEYBOARD_keebio_iris_rev4)
 | 
			
		||||
#    undef PRODUCT
 | 
			
		||||
#    define PRODUCT "Drashna Hacked Iris Rev 4"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define SHFT_LED1 6
 | 
			
		||||
#define SHFT_LED2 11
 | 
			
		||||
 | 
			
		||||
#define CTRL_LED1 7
 | 
			
		||||
#define CTRL_LED2 10
 | 
			
		||||
 | 
			
		||||
#define ALT_LED1 8
 | 
			
		||||
#define GUI_LED1 9
 | 
			
		||||
 | 
			
		||||
#define BOOTMAGIC_LITE_ROW 4
 | 
			
		||||
#define BOOTMAGIC_LITE_COLUMN 3
 | 
			
		||||
| 
						 | 
				
			
			@ -1,112 +0,0 @@
 | 
			
		|||
/* Copyright 2020 Christopher Courtney, aka Drashna Jael're  (@drashna) <drashna@live.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 "drashna.h"
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * The `LAYOUT_iris_base` macro is a template to allow the use of identical
 | 
			
		||||
 * modifiers for the default layouts (eg QWERTY, Colemak, Dvorak, etc), so
 | 
			
		||||
 * that there is no need to set them up for each layout, and modify all of
 | 
			
		||||
 * them if I want to change them.  This helps to keep consistency and ease
 | 
			
		||||
 * of use. K## is a placeholder to pass through the individual keycodes
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
// clang-format off
 | 
			
		||||
#define LAYOUT_wrapper(...)            LAYOUT(__VA_ARGS__)
 | 
			
		||||
#define LAYOUT_iris_base( \
 | 
			
		||||
    K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
 | 
			
		||||
    K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
 | 
			
		||||
    K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A  \
 | 
			
		||||
  ) \
 | 
			
		||||
  LAYOUT_wrapper( \
 | 
			
		||||
     KC_ESC,  ________________NUMBER_LEFT________________,                       ________________NUMBER_RIGHT_______________, KC_MINS, \
 | 
			
		||||
     LALT_T(KC_TAB), K01, K02, K03,      K04,     K05,                           K06,     K07,     K08,     K09,     K0A,     KC_BSLS, \
 | 
			
		||||
     KC_C1R3, K11,    K12,     K13,      K14,     K15,                           K16,     K17,     K18,     K19,     K1A, RALT_T(K1B), \
 | 
			
		||||
     OS_LSFT, CTL_T(K21), K22, K23,      K24,     K25,     OS_LALT,     OS_RGUI, K26,     K27,     K28,     K29, RCTL_T(K2A), OS_RSFT, \
 | 
			
		||||
                             KC_GRV, KC_SPC,  LT(_LOWER,KC_BSPC),         LT(_RAISE,KC_DEL),  KC_ENT,  RAISE                           \
 | 
			
		||||
  )
 | 
			
		||||
#define LAYOUT_base_wrapper(...)       LAYOUT_iris_base(__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
    [_DEFAULT_LAYER_1] = LAYOUT_base_wrapper(
 | 
			
		||||
        _________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
 | 
			
		||||
        _________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
 | 
			
		||||
        _________________QWERTY_L3_________________, _________________QWERTY_R3_________________
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_DEFAULT_LAYER_2] = LAYOUT_base_wrapper(
 | 
			
		||||
        ______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________,
 | 
			
		||||
        ______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________,
 | 
			
		||||
        ______________COLEMAK_MOD_DH_L3____________, ______________COLEMAK_MOD_DH_R3____________
 | 
			
		||||
    ),
 | 
			
		||||
    [_DEFAULT_LAYER_3] = LAYOUT_base_wrapper(
 | 
			
		||||
        _________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
 | 
			
		||||
        _________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
 | 
			
		||||
        _________________COLEMAK_L3________________, _________________COLEMAK_R3________________
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [_DEFAULT_LAYER_4] = LAYOUT_base_wrapper(
 | 
			
		||||
        _________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
 | 
			
		||||
        _________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
 | 
			
		||||
        _________________DVORAK_L3_________________, _________________DVORAK_R3_________________
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
  [_GAMEPAD] = LAYOUT_wrapper(
 | 
			
		||||
     KC_ESC,  KC_NO,   KC_1,    KC_2,    KC_3,    KC_4,                          _______, _______, _______, _______, _______, _______,
 | 
			
		||||
     KC_F1,   KC_K,    KC_Q,    KC_W,    KC_E,    KC_R,                          _______, _______, _______, _______, _______, _______,
 | 
			
		||||
     KC_TAB,  KC_G,    KC_A,    KC_S,    KC_D,    KC_F,                          _______, _______, _______, _______, _______, _______,
 | 
			
		||||
     KC_LCTL, KC_LSFT, KC_Z,    KC_X,    KC_C,    KC_H,    TG_GAME,     _______, _______, _______, _______, _______, _______, _______,
 | 
			
		||||
                                       KC_GRV,  KC_V,    KC_SPC,          _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  [_LOWER] = LAYOUT_wrapper(
 | 
			
		||||
     KC_F12,  _________________FUNC_LEFT_________________,                       _________________FUNC_RIGHT________________, KC_F11,
 | 
			
		||||
     KC_TILD, _________________LOWER_L1__________________,                       _________________LOWER_R1__________________, _______,
 | 
			
		||||
     _______, ___________________BLANK___________________,                       _________________LOWER_R2__________________, KC_PIPE,
 | 
			
		||||
     _______, ___________________BLANK___________________, _______,     _______, _________________LOWER_R3__________________, _______,
 | 
			
		||||
                                       _______, _______, _______,         _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_RAISE] = LAYOUT_wrapper(
 | 
			
		||||
      KC_F12,  _________________FUNC_LEFT_________________,                      _________________FUNC_RIGHT________________, KC_F11,
 | 
			
		||||
      KC_GRV,  _________________RAISE_L1__________________,                      _________________RAISE_R1__________________, _______,
 | 
			
		||||
      _______, _________________RAISE_L2__________________,                      _________________RAISE_R2__________________, KC_BSLS,
 | 
			
		||||
      _______, _________________RAISE_L3__________________, _______,    _______, _________________RAISE_R3__________________, _______,
 | 
			
		||||
                                        _______, _______, _______,        _______, _______, _______
 | 
			
		||||
   ),
 | 
			
		||||
 | 
			
		||||
  [_ADJUST] = LAYOUT_wrapper(
 | 
			
		||||
      QK_MAKE, _______, _______, _______, _______, _______,                      _________________ADJUST_R1_________________, QK_BOOT,
 | 
			
		||||
      VRSN,    _________________ADJUST_L1_________________,                      KC_NUKE, _______, _______, _______, _______, EE_CLR,
 | 
			
		||||
      _______, _________________ADJUST_L2_________________,                      _________________ADJUST_R2_________________, TG_MODS,
 | 
			
		||||
      _______, _________________ADJUST_L3_________________, TG_GAME,    _______, _________________ADJUST_R3_________________, KC_MPLY,
 | 
			
		||||
                                        _______, _______, _______,        _______, _______, _______
 | 
			
		||||
   )
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
// clang-format on
 | 
			
		||||
 | 
			
		||||
void keyboard_post_init_keymap(void) {
 | 
			
		||||
#if BACKLIGHT_ENABLE
 | 
			
		||||
    backlight_enable();
 | 
			
		||||
    backlight_level(5);
 | 
			
		||||
#    ifdef BACKLIGHT_BREATHING
 | 
			
		||||
    breathing_enable();
 | 
			
		||||
#    endif
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,16 +0,0 @@
 | 
			
		|||
BOOTMAGIC_ENABLE   = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE    = no       # Mouse keys
 | 
			
		||||
EXTRAKEY_ENABLE    = yes      # Audio control and System control
 | 
			
		||||
CONSOLE_ENABLE     = no       # Console for debug
 | 
			
		||||
COMMAND_ENABLE     = no       # Commands for debug and configuration
 | 
			
		||||
TAP_DANCE_ENABLE   = no
 | 
			
		||||
AUDIO_ENABLE       = no
 | 
			
		||||
NKRO_ENABLE        = yes
 | 
			
		||||
BACKLIGHT_ENABLE   = no
 | 
			
		||||
SWAP_HANDS_ENABLE  = no
 | 
			
		||||
BOOTLOADER        = qmk-dfu
 | 
			
		||||
 | 
			
		||||
INDICATOR_LIGHTS            = no
 | 
			
		||||
RGBLIGHT_STARTUP_ANIMATION  = no
 | 
			
		||||
CUSTOM_UNICODE_ENABLE       = no
 | 
			
		||||
CUSTOM_SPLIT_TRANSPORT_SYNC = no
 | 
			
		||||
| 
						 | 
				
			
			@ -1,18 +0,0 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* Select hand configuration */
 | 
			
		||||
 | 
			
		||||
#define MASTER_LEFT
 | 
			
		||||
// #define MASTER_RIGHT
 | 
			
		||||
// #define EE_HANDS
 | 
			
		||||
 | 
			
		||||
#define SWAP_SCLN
 | 
			
		||||
#define TAPPING_TERM 300
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | 
			
		||||
#define RGBLED_NUM 10
 | 
			
		||||
#define RGBLIGHT_LIMIT_VAL 100
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 10
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
| 
						 | 
				
			
			@ -1,72 +0,0 @@
 | 
			
		|||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "edvorakjp.h"
 | 
			
		||||
 | 
			
		||||
#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
 | 
			
		||||
#define __KC_TRNS_x6__ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
 | 
			
		||||
 | 
			
		||||
// clang-format off
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
  [L_EDVORAKJP_BASE] = LAYOUT_wrapper(
 | 
			
		||||
  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
       KC_F13,  KC_F14,  KC_F15,  KC_F16,  KC_F17,  KC_F18,                             KC_F19,  KC_F20,  KC_F21,  KC_F22,  KC_F23,  KC_F24,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
       KC_GRV,            __EDVORAKJP_BASE_L1__           ,                                      __EDVORAKJP_BASE_R1__            , KC_BSLS,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
       KC_EQL,            __EDVORAKJP_BASE_L2__           ,                                      __EDVORAKJP_BASE_R2__            , KC_MINS,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
       KC_ESC,            __EDVORAKJP_BASE_L3__           , XXXXXXX,          XXXXXXX,           __EDVORAKJP_BASE_R3__            , KC_SLSH,
 | 
			
		||||
  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                      LA_TAB,  LS_SPC,LOWER_TD,                  RAISE_TD, RC_BSPC,  RG_ENT
 | 
			
		||||
                                // └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [L_EDVORAKJP_LOWER] = LAYOUT_wrapper(
 | 
			
		||||
  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
                                 __KC_TRNS_x6__           ,                                      __KC_TRNS_x6__                            ,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
      XXXXXXX, XXXXXXX, __EDVORAKJP_BRACKET_L__  , XXXXXXX,                            XXXXXXX,  __EDVORAKJP_BRACKET_R__ , XXXXXXX, XXXXXXX,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                       __EDVORAKJP_FUNCTION_L__           ,                                      __EDVORAKJP_FUNCTION_R__                  ,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
      KC_PSCR, XXXXXXX,      __EDVORAKJP_PAGE__           , XXXXXXX,          XXXXXXX,           __EDVORAKJP_CURSOR__    , XXXXXXX, XXXXXXX,
 | 
			
		||||
  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                     KC_TRNS, KC_TRNS, XXXXXXX,                    KC_MAC,  RC_DEL, KC_TRNS
 | 
			
		||||
                                // └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [L_EDVORAKJP_RAISE] = LAYOUT_wrapper(
 | 
			
		||||
  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
                                 __KC_TRNS_x6__           ,                                      __KC_TRNS_x6__                            ,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
      XXXXXXX, XXXXXXX,  __EDVORAKJP_SYMBOL_L__           ,                                      __EDVORAKJP_SYMBOL_R__  , XXXXXXX, XXXXXXX,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
      XXXXXXX,           __EDVORAKJP_NUMBER_L__           ,                                      __EDVORAKJP_NUMBER_R__           , XXXXXXX,
 | 
			
		||||
  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
      KC_PSCR, XXXXXXX,      __EDVORAKJP_PAGE__           , XXXXXXX,          XXXXXXX,           __EDVORAKJP_CURSOR__    , XXXXXXX, XXXXXXX,
 | 
			
		||||
  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                     KC_TRNS, KC_TRNS,  KC_WIN,                   XXXXXXX, KC_TRNS, KC_TRNS
 | 
			
		||||
                                // └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
  )
 | 
			
		||||
};
 | 
			
		||||
// clang-format on
 | 
			
		||||
 | 
			
		||||
void matrix_init_keymap(void) {}
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_EFFECT_STATIC_GRADIENT
 | 
			
		||||
layer_state_t layer_state_set_keymap(layer_state_t state) {
 | 
			
		||||
    rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
 | 
			
		||||
    switch (get_highest_layer(state)) {
 | 
			
		||||
        case L_EDVORAKJP_LOWER:
 | 
			
		||||
            rgblight_sethsv_noeeprom(HSV_RED);
 | 
			
		||||
            break;
 | 
			
		||||
        case L_EDVORAKJP_RAISE:
 | 
			
		||||
            rgblight_sethsv_noeeprom(HSV_GREEN);
 | 
			
		||||
            break;
 | 
			
		||||
        default:  // for any other layers, or the default layer
 | 
			
		||||
            rgblight_mode(RGBLIGHT_MODE_STATIC_GRADIENT + 3);
 | 
			
		||||
            rgblight_sethsv(HSV_RED);
 | 
			
		||||
            break;
 | 
			
		||||
    }
 | 
			
		||||
    return state;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			@ -1,21 +0,0 @@
 | 
			
		|||
# edvorakjp
 | 
			
		||||
 | 
			
		||||
Epaew's Enhanced Dvorak layout for Japanese Programmer  
 | 
			
		||||
see [here](/users/edvorakjp) for more informations.
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
Copyright 2018 Ryo Maeda epaew.333@gmail.com @epaew
 | 
			
		||||
 | 
			
		||||
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/>.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,18 +0,0 @@
 | 
			
		|||
# Build Options
 | 
			
		||||
#   change to "no" to disable the options, or define them in the Makefile in
 | 
			
		||||
#   the appropriate keymap folder that will get included automatically
 | 
			
		||||
#
 | 
			
		||||
BOOTMAGIC_ENABLE = no       # Enable Bootmagic Lite
 | 
			
		||||
MOUSEKEY_ENABLE = no        # Mouse keys(+4700)
 | 
			
		||||
EXTRAKEY_ENABLE = no        # Audio control and System control(+450)
 | 
			
		||||
CONSOLE_ENABLE = no         # Console for debug(+400)
 | 
			
		||||
COMMAND_ENABLE = no         # Commands for debug and configuration
 | 
			
		||||
NKRO_ENABLE = no            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
 | 
			
		||||
BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 | 
			
		||||
MIDI_ENABLE = no            # MIDI controls
 | 
			
		||||
AUDIO_ENABLE = no           # Audio output on port C6
 | 
			
		||||
UNICODE_ENABLE = no         # Unicode
 | 
			
		||||
BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 | 
			
		||||
RGBLIGHT_ENABLE = yes       # Enable WS2812 RGB underlight.
 | 
			
		||||
SWAP_HANDS_ENABLE = no      # Enable one-hand typing
 | 
			
		||||
TAP_DANCE_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -1,18 +0,0 @@
 | 
			
		|||
# Gary's Iris Layout
 | 
			
		||||
 | 
			
		||||
My personal keymap for my Iris.
 | 
			
		||||
 | 
			
		||||
Copyright 2019 Gary @garyjzhao
 | 
			
		||||
 | 
			
		||||
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/>.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +0,0 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* Select hand configuration */
 | 
			
		||||
 | 
			
		||||
#define MASTER_LEFT
 | 
			
		||||
// #define MASTER_RIGHT
 | 
			
		||||
// #define EE_HANDS
 | 
			
		||||
| 
						 | 
				
			
			@ -1,47 +0,0 @@
 | 
			
		|||
#include "gary.h"
 | 
			
		||||
 | 
			
		||||
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  ,                KC_Y  , KC_U  , KC_I  , KC_O  , KC_P  ,KC_DEL ,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_RASE, 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_NEXT,     KC_FULL , KC_N  , KC_M  ,KC_COMM,KC_DOT ,KC_SLSH,SC_SENT,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                       KC_LGUI,KC_LOWR,KC_SPC ,        KC_GARY, KC_ENT,KC_LALT
 | 
			
		||||
  //                  `----+----+----'        `----+----+----'
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  [_LOWER] = LAYOUT(
 | 
			
		||||
  //,----+----+----+----+----+----.              ,----+----+----+----+----+----.
 | 
			
		||||
    KC_GRV ,KC_EXLM, KC_AT ,KC_HASH,KC_DLR ,KC_PERC,                KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,KC_BSPC,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_CLTB,_______,KC_CNTR,KC_UPLF,KC_UPRG,_______,               _______,_______,KC_PLUS,KC_LBRC,KC_RBRC,KC_OPASS,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     _______,KC_LHLF,KC_RHLF,KC_DNLF,KC_DNRG,_______,               _______,_______,KC_MINS,_______,_______,KC_PIPE,
 | 
			
		||||
  //|----+----+----+----+----+----+----.    ,----|----+----+----+----+----+----|`
 | 
			
		||||
     _______,_______,_______,KC_CTLC,_______,_______,_______,     _______,_______,_______,_______,KC_EQL ,_______,KC_UNDS ,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                       _______,_______,KC_DEL ,        KC_BSPC ,_______, _______
 | 
			
		||||
  //                  `----+----+----'        `----+----+----'
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_RAISE] = LAYOUT(
 | 
			
		||||
  //,----+----+----+----+----+----.              ,----+----+----+----+----+----.
 | 
			
		||||
     KC_TILD, KC_F1 , KC_F2 , KC_F3 ,KC_SHOT, KC_F5 ,                KC_F6 , KC_F7 , KC_F8 , KC_F9 ,KC_F10 ,KC_F11 ,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     _______,KC_MPRV,KC_MPLY,KC_MNXT,_______,_______,               _______,KC_PGUP, KC_UP ,KC_PGDN,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     _______,_______,KC_VOLD,KC_VOLU,KC_MUTE,_______,               _______,KC_LEFT,KC_DOWN,KC_RGHT,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----+----.    ,----|----+----+----+----+----+----|
 | 
			
		||||
     _______,_______,_______,_______,_______,_______,_______,      KC_RST,_______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                        _______,KC_LALT,_______,         _______,_______, _______
 | 
			
		||||
  //                  `----+----+----'        `----+----+----'
 | 
			
		||||
  ),
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -1,2 +0,0 @@
 | 
			
		|||
RGBLIGHT_ENABLE = no
 | 
			
		||||
EXTRAKEY_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -1,22 +0,0 @@
 | 
			
		|||
// Copyright 2019 Manna Harbour
 | 
			
		||||
// https://github.com/manna-harbour/miryoku
 | 
			
		||||
 | 
			
		||||
// 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 XXX KC_NO
 | 
			
		||||
 | 
			
		||||
#define LAYOUT_miryoku(\
 | 
			
		||||
     K00, K01, K02, K03, K04,                K05, K06, K07, K08, K09,\
 | 
			
		||||
     K10, K11, K12, K13, K14,                K15, K16, K17, K18, K19,\
 | 
			
		||||
     K20, K21, K22, K23, K24,                K25, K26, K27, K28, K29,\
 | 
			
		||||
     N30, N31, K32, K33, K34,                K35, K36, K37, N38, N39\
 | 
			
		||||
)\
 | 
			
		||||
LAYOUT(\
 | 
			
		||||
XXX, XXX, XXX, XXX, XXX, XXX,                XXX, XXX, XXX, XXX, XXX, XXX,\
 | 
			
		||||
XXX, K00, K01, K02, K03, K04,                K05, K06, K07, K08, K09, XXX,\
 | 
			
		||||
XXX, K10, K11, K12, K13, K14,                K15, K16, K17, K18, K19, XXX,\
 | 
			
		||||
XXX, K20, K21, K22, K23, K24, XXX,      XXX, K25, K26, K27, K28, K29, XXX,\
 | 
			
		||||
                    K32, K33, K34,      K35, K36, K37\
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			@ -1,4 +0,0 @@
 | 
			
		|||
// Copyright 2019 Manna Harbour
 | 
			
		||||
// https://github.com/manna-harbour/miryoku
 | 
			
		||||
 | 
			
		||||
// 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/>.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,38 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2017 Danny Nguyen <danny@keeb.io>
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#define RGBLIGHT_EFFECT_BREATHING
 | 
			
		||||
#undef RGBLIGHT_EFFECT_RAINBOW_MOOD
 | 
			
		||||
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | 
			
		||||
#undef RGBLIGHT_EFFECT_KNIGHT
 | 
			
		||||
#undef RGBLIGHT_EFFECT_CHRISTMAS
 | 
			
		||||
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
 | 
			
		||||
#undef RGBLIGHT_EFFECT_RGB_TEST
 | 
			
		||||
#undef RGBLIGHT_EFFECT_ALTERNATING
 | 
			
		||||
#undef RGBLIGHT_EFFECT_TWINKLE
 | 
			
		||||
#undef RGBLIGHT_DEFAULT_MODE
 | 
			
		||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_BREATHING + 2)
 | 
			
		||||
#define RGBLED_NUM 12
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
| 
						 | 
				
			
			@ -1,70 +0,0 @@
 | 
			
		|||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "mattly.h"
 | 
			
		||||
 | 
			
		||||
// extern keymap_config_t keymap_config;
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
  [_BASE_MAC] = LAYOUT(
 | 
			
		||||
    KC_DEL,  KC_1,    KC_2,    KC_3,    KC_4,    KC_5,                               KC_6,    KC_7,    KC_8,    KC_9,    KC_0,    KC_ESC,
 | 
			
		||||
    KC_BSPC, KC_Q,    W_CTL,   E_ALT,   R_GUI,   KC_T,                               KC_Y,    U_GUI,   I_ALT,   O_CTL,   KC_P,    KC_SCLN,
 | 
			
		||||
    KC_CAPS, A_CTL,   S_ALT,   D_GUI,   F_SFT,   KC_G,                               KC_H,    J_SFT,   K_GUI,   L_ALT,   MINSCTL, KC_QUOT,
 | 
			
		||||
    NAVLOCK, KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,    ENT_SYM,         TAB_NUM,  KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_ENT,
 | 
			
		||||
                                   ESC_HYP, TAB_NUM, SPC_SFT,                   SPC_SFT, BSP_SYM, DEL_WRP
 | 
			
		||||
),
 | 
			
		||||
 | 
			
		||||
  [_OVER_WIN] = LAYOUT(
 | 
			
		||||
    _______, _______, _______, _______, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, _______, W_GUI,   _______, R_CTL,   _______,                            _______, U_CTL,   _______, O_GUI,   _______, _______,
 | 
			
		||||
    _______, A_GUI,   _______, D_CTL,   _______, _______,                            _______, _______, K_CTL,   _______, MINSGUI, _______,
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, _______,          _______, _______, _______, _______, _______, _______, _______,
 | 
			
		||||
                                  _______, _______, _______,                     _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_SYMBOL] = LAYOUT(
 | 
			
		||||
    _______, _______, _______, _______, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, KC_AMPR, KC_GRV,  KC_TILD, KC_LBRC, KC_RBRC,                            KC_LABK, KC_RABK, KC_PLUS, KC_ASTR, XXXXXXX, _______,
 | 
			
		||||
    _______, KC_DLR,  KC_PERC, KC_EQL,  KC_LPRN, KC_RPRN,                            KC_SCLN, KC_COLN, KC_EXLM, KC_AT,   KC_UNDS, _______,
 | 
			
		||||
    _______, XXXXXXX, KC_CIRC, KC_HASH, KC_LCBR, KC_RCBR, _______,          _______, KC_QUOT, KC_DQUO, KC_PIPE, KC_BSLS, KC_QUES, _______,
 | 
			
		||||
                                  _______, _______, _______,                     _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_NAVNUM] = LAYOUT(
 | 
			
		||||
    M_PVWIN, M_NXWIN, XXXXXXX, M_BPARA, XXXXXXX, KC_HOME,                            XXXXXXX, KC_SLSH, KC_ASTR, KC_MINS, KC_PLUS, XXXXXXX,
 | 
			
		||||
    M_PVTAB, M_NAVFW, M_BWORD, KC_UP,   M_FWORD, KC_PGUP,                            KC_DLR,  KC_P7,   KC_P8,   KC_P9,   KC_DOT,  XXXXXXX,
 | 
			
		||||
    XXXXXXX, M_NAVBK, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN,                            KC_PERC, KC_P4,   KC_P5,   KC_P6,   KC_EQL,  XXXXXXX,
 | 
			
		||||
    _______, M_NAVFW, M_BLINE, M_NPARA, M_ELINE, KC_END, _______,          _______, KC_P0,   KC_P1,   KC_P2,   KC_P3,   KC_COMM, _______,
 | 
			
		||||
                                   _______, _______, _______,                   _______, _______, KC_P0
 | 
			
		||||
  ),
 | 
			
		||||
  [_NAVNUM_WIN] = LAYOUT(
 | 
			
		||||
    _______, _______, _______, _______, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, W_NAVFW, W_BWORD, _______, W_FWORD, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, W_NAVBK, _______, _______, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, _______,          _______, _______, _______, _______, _______, _______, _______,
 | 
			
		||||
                                  _______, _______, _______,                     _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_GAME] = LAYOUT(
 | 
			
		||||
    KC_BSPC, KC_1,    KC_2,    KC_3,    KC_4,    KC_5,                               KC_6,    KC_7,    KC_8,    KC_9,    KC_0,    KC_DEL,
 | 
			
		||||
    KC_TAB,  KC_Q,    KC_W,    KC_E,    KC_R,    KC_T,                               KC_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_SCLN,
 | 
			
		||||
    KC_CAPS, KC_A,    KC_S,    KC_D,    KC_F,    KC_G,                               KC_H,    KC_J,    KC_K,    KC_L,    KC_MINS, KC_QUOT,
 | 
			
		||||
    KC_ESC,  KC_Z,    KC_X,    KC_C,    KC_V,    KC_B, MO(_NAVNUM),     MO(_SYMBOL), KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_ENT,
 | 
			
		||||
                                   KC_LCTL, KC_LALT, KC_SPC,                   KC_SPC, KC_LGUI, KC_LSFT
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_FUNCT] = 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,
 | 
			
		||||
    QK_BOOT, M_NAVFW, XXXXXXX, M_NXWIN, XXXXXXX, XXXXXXX,                            XXXXXXX, RGB_TOG, RGB_M_P, RGB_M_B, XXXXXXX, QK_BOOT,
 | 
			
		||||
    DB_TOGG, M_NAVBK, M_PVTAB, M_PVWIN, M_NXTAB, XXXXXXX,                            XXXXXXX, TOG_WIN, TOG_GAM, XXXXXXX, XXXXXXX, XXXXXXX,
 | 
			
		||||
    KC_MUTE, KC_VOLD, KC_VOLU, KC_MRWD, KC_MFFD, KC_MPLY, _______,          _______, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD,
 | 
			
		||||
                                   _______, _______, _______,                   _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
[_FUNCT_WIN] = LAYOUT(
 | 
			
		||||
    _______, _______, _______, _______, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, W_NAVFW, _______, W_NXWIN, _______, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, W_NAVBK, W_PVTAB, W_PVWIN, W_NXTAB, _______,                            _______, _______, _______, _______, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, _______,          _______, _______, _______, _______, _______, _______, _______,
 | 
			
		||||
                                  _______, _______, _______,                     _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
See my readme in [users/mattly](../../../../../users/mattly/readme.md)
 | 
			
		||||
| 
						 | 
				
			
			@ -1,38 +0,0 @@
 | 
			
		|||
/* Copyright 2021 Mats Nilsson
 | 
			
		||||
 *
 | 
			
		||||
 * 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 EE_HANDS
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#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
 | 
			
		||||
#define RGBLED_NUM 12
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 8
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 8
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 8
 | 
			
		||||
#define RGBLIGHT_SPLIT \
 | 
			
		||||
    { 6, 6 }
 | 
			
		||||
#define RGBLIGHT_SLEEP
 | 
			
		||||
| 
						 | 
				
			
			@ -1,94 +0,0 @@
 | 
			
		|||
/* Copyright 2021 Mats Nilsson
 | 
			
		||||
 *
 | 
			
		||||
 * 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 "mnil.h"
 | 
			
		||||
 | 
			
		||||
const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {5, 5, 5, 5};
 | 
			
		||||
 | 
			
		||||
#define HSV_DEFAULT 32, 255, 255
 | 
			
		||||
 | 
			
		||||
layer_state_t layer_state_set_user(layer_state_t state) {
 | 
			
		||||
    state = update_tri_layer_state(state, _SYMBOLS, _NAVIGATION, _NUMPAD);
 | 
			
		||||
 | 
			
		||||
    switch (get_highest_layer(state)) {
 | 
			
		||||
        case _NUMPAD:
 | 
			
		||||
            rgblight_sethsv_noeeprom(HSV_GREEN);
 | 
			
		||||
            break;
 | 
			
		||||
        case _NAVIGATION:
 | 
			
		||||
            rgblight_sethsv_noeeprom(HSV_MAGENTA);
 | 
			
		||||
            break;
 | 
			
		||||
        case _SYMBOLS:
 | 
			
		||||
            rgblight_sethsv_noeeprom(HSV_AZURE);
 | 
			
		||||
            break;
 | 
			
		||||
        default:  //  for any other layers, or the default layer
 | 
			
		||||
            rgblight_sethsv_noeeprom(HSV_DEFAULT);
 | 
			
		||||
            break;
 | 
			
		||||
    }
 | 
			
		||||
    return state;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// clang-format off
 | 
			
		||||
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,    TD(OAA), KC_NO,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_LSFT, TD(AAE), KC_R,    KC_S,    KC_T,    KC_G,                               KC_M,    KC_N,    KC_E,    KC_I,    KC_O,    KC_NO,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_LCTL, KC_Z,    KC_X,    KC_C,    KC_D,    KC_V,    _NAV_SPC,         _SYM_ENT,KC_K,    KC_H,    KC_COMM, KC_DOT,  SE_MINS, KC_LGUI,
 | 
			
		||||
                  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                                    KC_LGUI, SFT_TAB, _NAV_SPC,                  _SYM_ENT,CTL_BSPC,ALT_DEL),
 | 
			
		||||
                  //                               └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
  [_SYMBOLS] = LAYOUT(
 | 
			
		||||
                  //┌────────┬────────┬────────┬────────┬────────┬────────┐                           ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
                     KC_TRNS, KC_F1,   KC_F2,   KC_F3,   KC_F4,   KC_F5,                               KC_F6,   KC_F7,   KC_F8,   KC_F9,   KC_F10,  KC_TRNS,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                           ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, KC_NO,   SE_PIPE, SE_LBRC, SE_RBRC, KC_NO,                               S(KC_5), SE_QUES, SE_AT,   SE_EQL,  SE_DLR,  KC_TRNS,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                           ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, SE_LCBR, SE_RCBR, SE_LPRN, SE_RPRN, KC_NO,                               SE_PLUS, S(KC_1), S(KC_2), S(KC_3), SE_AMPR, KC_TRNS,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐         ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, M_TILD,  M_CIRC,  SE_LABK, SE_RABK, KC_NO,   KC_TRNS,           KC_TRNS, SE_QUOT, SE_SLSH, SE_BSLS, SE_ASTR, M_BTCK,  KC_TRNS,
 | 
			
		||||
                  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘         └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                                    KC_TRNS, KC_TRNS, KC_TRNS,                    KC_TRNS, KC_TRNS, KC_TRNS ),
 | 
			
		||||
                  //                               └────────┴────────┴────────┘                  └────────┴────────┴────────┘
 | 
			
		||||
  [_NAVIGATION] = LAYOUT(
 | 
			
		||||
                  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
                     KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,                            KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, KC_NO,   CUT,     COPY,    PASTE,   AUTOFILL,                           KC_NO,   KC_HOME, KC_WH_D, KC_WH_U, KC_END,  KC_NO,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, KC_ACL0, KC_ACL1, KC_BTN2, KC_BTN1, KC_LCTL,                            KC_WH_L, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R, KC_WH_R,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, KC_ACL2, KC_BTN4, KC_BTN3, KC_BTN5, KC_NO,   KC_TRNS,          KC_TRNS, KC_NO,   KC_LEFT, KC_DOWN, KC_UP,   KC_RGHT, KC_LCTL,
 | 
			
		||||
                  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                                    KC_TRNS, KC_TRNS, KC_TRNS,                   KC_TRNS, KC_TRNS, KC_TRNS ),
 | 
			
		||||
                  //                               └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
  [_NUMPAD] = LAYOUT(
 | 
			
		||||
                  //┌────────┬────────┬────────┬────────┬────────┬────────┐                          ┌────────┬────────┬────────┬────────┬────────┬────────┐
 | 
			
		||||
                     RGB_TOG, RGB_M_P, RGB_M_B, KC_NO,   KC_NO,   KC_NO,                              KC_NO,   KC_NO,   KC_NO,   KC_NO,   KC_NO,   QK_BOOT,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, QUIT,    WIN,     MVWSL  , MVWSR,   CRYWS,                              TERM,    KC_7,    KC_8,    KC_9,    KC_COMM, KC_NO,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┤                          ├────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, CS_TAB,  C_TAB,   PRVWS,   NXTWS,   I3MOD,                              OPEN,    KC_4,    KC_5,    KC_6,    KC_0,    KC_NO,
 | 
			
		||||
                  //├────────┼────────┼────────┼────────┼────────┼────────┼────────┐        ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
 | 
			
		||||
                     KC_TRNS, KC_LEFT, KC_DOWN, KC_UP,   KC_RGHT, MOVWS,   KC_TRNS,          KC_TRNS, BROWSER, KC_1,    KC_2,    KC_3,    KC_DOT,  KC_NO,
 | 
			
		||||
                  //└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘        └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
 | 
			
		||||
                                                    KC_TRNS, KC_TRNS, KC_TRNS,                   KC_TRNS, KC_TRNS, KC_TRNS ),
 | 
			
		||||
                  //                               └────────┴────────┴────────┘                 └────────┴────────┴────────┘
 | 
			
		||||
};
 | 
			
		||||
// clang-format on
 | 
			
		||||
| 
						 | 
				
			
			@ -1,2 +0,0 @@
 | 
			
		|||
# mnil's iris keymap
 | 
			
		||||
Read my user settings [here](../../../../../users/mnil/readme.md) for more details.
 | 
			
		||||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
RGBLIGHT_ENABLE  = yes
 | 
			
		||||
| 
						 | 
				
			
			@ -1,20 +0,0 @@
 | 
			
		|||
/* Copyright 2021 @nstickney
 | 
			
		||||
 *
 | 
			
		||||
 * 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 RGBLED_NUM 12
 | 
			
		||||
#define RGBLIGHT_SPLIT
 | 
			
		||||
| 
						 | 
				
			
			@ -1,53 +0,0 @@
 | 
			
		|||
/* Copyright 2021 @nstickney
 | 
			
		||||
 *
 | 
			
		||||
 * 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 "nstickney.h"
 | 
			
		||||
#include "unicodemap.h"
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
    [BASE] = LAYOUT(
 | 
			
		||||
		KC_GRV, 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_DEL,
 | 
			
		||||
		CC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, CC_QUOT,
 | 
			
		||||
		SC_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, SC_RSPC,
 | 
			
		||||
		AC_SLSH, FC_BSLS, KC_SPC, KC_ENT, FC_MINS, AC_EQL
 | 
			
		||||
		),
 | 
			
		||||
 | 
			
		||||
    [SYMB] = LAYOUT(
 | 
			
		||||
        _______, UP(IEX, SS1), UM(SS2), UM(SS3), UP(CUR, GBP), UM(EUR), UM(V14), UM(V12), UM(V34), UP(LSQ, LDQ), UP(RSQ, RDQ), _______,
 | 
			
		||||
        _______, UP(A_D, AXD), UP(A_R, ACR), UP(E_A, ECA), UP(REG, CPL), UM(THR), UP(U_D, UCD), UP(U_A, UCA), UP(I_A, ICA), UP(O_A, OCA), UP(O_D, OCD), _______,
 | 
			
		||||
        _______, UP(A_A, ACA), UP(S_S, SEC), UP(ETH, ETC), UM(EMD), _______, _______, _______, _______, UP(O_S, OCS), UP(PLC, DEG), UP(ACT, DIS),
 | 
			
		||||
        _______, UP(AEL, AEC), _______, UP(CPR, CNT), _______, _______, _______, _______, UP(N_T, NCT), UM(MCR), UP(C_C, CCC), _______, _______, _______,
 | 
			
		||||
        UM(IQM), UP(NOT, BKB), _______, _______, UM(YEN), UP(MLT, DIV)
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    [NUMP] = LAYOUT(
 | 
			
		||||
        _______, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______, KC_P7, KC_P8, KC_P9, KC_PSLS, _______,
 | 
			
		||||
        _______, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______, KC_P4, KC_P5, KC_P6, KC_PAST, _______,
 | 
			
		||||
        _______, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______, KC_P1, KC_P2, KC_P3, KC_PMNS, _______,
 | 
			
		||||
        _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______, _______, _______, KC_P0, KC_PCMM, KC_PDOT, KC_PPLS, _______,
 | 
			
		||||
        _______, _______, _______, KC_PENT, _______, _______
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    [FCTN] = LAYOUT(
 | 
			
		||||
        KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_SYRQ,
 | 
			
		||||
        KC_PSCR, RGB_TOG, KC_HOME, KC_UP, KC_END, KC_PGUP, QK_LOCK, KC_LBRC, KC_RBRC, S(KC_LBRC), S(KC_RBRC), KC_INS,
 | 
			
		||||
        KC_PAUS, RGB_VAI, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_BRIU, KC_CLR,
 | 
			
		||||
        _______, KC_MPRV, KC_MRWD, KC_MPLY, KC_MFFD, KC_MNXT, KC_F11, KC_F12, KC_MSTP, KC_MUTE, KC_VOLD, KC_VOLU, KC_BRID, _______,
 | 
			
		||||
        _______, _______, _______, _______, _______, _______
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			@ -1,32 +0,0 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifdef PRODUCT
 | 
			
		||||
#    undef PRODUCT
 | 
			
		||||
#    define PRODUCT "Iris Keyboard - pvinis"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Select hand configuration.
 | 
			
		||||
// #define MASTER_LEFT
 | 
			
		||||
#define MASTER_RIGHT
 | 
			
		||||
// #define EE_HANDS
 | 
			
		||||
 | 
			
		||||
// Choose pin to use for audio. C6 is the one iris uses.
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
#    define AUDIO_PIN C6
 | 
			
		||||
#    define STARTUP_SONG SONG(NO_SOUND)  // No startup song.
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
#    undef RGBLED_NUM
 | 
			
		||||
#    define RGBLED_NUM 16
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef ENCODER_ENABLE
 | 
			
		||||
#    define ENCODERS_PAD_A \
 | 
			
		||||
        { F5 }  // I connected the encoder to F4 and F5.
 | 
			
		||||
#    define ENCODERS_PAD_B \
 | 
			
		||||
        { F4 }
 | 
			
		||||
//   #define ENCODERS_PAD_A_RIGHT { B5 }
 | 
			
		||||
//   #define ENCODERS_PAD_B_RIGHT { C6 }
 | 
			
		||||
#    define ENCODER_RESOLUTION 2
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			@ -1,198 +0,0 @@
 | 
			
		|||
// pvinis iris
 | 
			
		||||
// make keebio/iris/rev2:pvinis:avrdude
 | 
			
		||||
// ,-----------------------------.              ┌────┬────┬────┬────┬────┬────┐
 | 
			
		||||
// |    |    |    |    |    |    |              │    │    │    │    │    │    │
 | 
			
		||||
// |----+----+----+----+----+----|              ├────┼────┼────┼────┼────┼────┤
 | 
			
		||||
// |    |    |    |    |    |    |              │    │    │    │    │    │    │
 | 
			
		||||
// |----+----+----+----x----x----|              ├────╆━━━━╅────┼────┼────┼────┤
 | 
			
		||||
// |    |    |    |    |    |    |              │    ┃    ┃    │    │    │    │
 | 
			
		||||
// |----+----+----+----x----x----+----.    ┌────┼────╄━━━━╃────┼────┼────┼────┤
 | 
			
		||||
// |    |    |    |    |    |    |    |    │    │    │    │    │    │    │    │
 | 
			
		||||
// `-------------------+----+----+----/    └┬───┴┬───┴┬───┴┬───┴────┴────┴────┘
 | 
			
		||||
//                    |    |    |    |      │    │    │    │
 | 
			
		||||
//                    `----+---------'      └────┴────┴────┘
 | 
			
		||||
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "pvinis.h"
 | 
			
		||||
//#include "iris.h"
 | 
			
		||||
//#include "action_layer.h"
 | 
			
		||||
//#include "eeconfig.h"
 | 
			
		||||
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
#    include "audio.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
//   #define STARTUP_SONG SONG(SONIC_RING)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
//   float n04[][2] = SONG(CLOSE_ENCOUNTERS_5_NOTE);
 | 
			
		||||
//   float n10[][2] = SONG(STARTUP_SOUND);
 | 
			
		||||
//   float n11[][2] = SONG(GOODBYE_SOUND);
 | 
			
		||||
//   float n12[][2] = SONG(PLANCK_SOUND);
 | 
			
		||||
//   float n19[][2] = SONG(MUSIC_ON_SOUND);
 | 
			
		||||
//   float n20[][2] = SONG(AUDIO_ON_SOUND);
 | 
			
		||||
//   float n29[][2] = SONG(CAPS_LOCK_ON_SOUND);
 | 
			
		||||
//   float n30[][2] = SONG(CAPS_LOCK_OFF_SOUND);
 | 
			
		||||
//   float n31[][2] = SONG(SCROLL_LOCK_ON_SOUND);
 | 
			
		||||
//   float n32[][2] = SONG(SCROLL_LOCK_OFF_SOUND);
 | 
			
		||||
//   float n33[][2] = SONG(NUM_LOCK_ON_SOUND);
 | 
			
		||||
//   float n34[][2] = SONG(NUM_LOCK_OFF_SOUND);
 | 
			
		||||
//   float n40[][2] = SONG(ONE_UP_SOUND);
 | 
			
		||||
//   float n49[][2] = SONG(E1M1_DOOM);
 | 
			
		||||
//   float n53[][2] = SONG(OLD_SPICE);
 | 
			
		||||
//   float n56[][2] = SONG(RICK_ROLL);
 | 
			
		||||
//   float n57[][2] = SONG(FF_PRELUDE);
 | 
			
		||||
// RGB_MODE_KNIGHT
 | 
			
		||||
//   float n78[][2] = SONG(KATAMARI_ROLLING_STAR);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
    // ,-----------------------------.              ,-----------------------------.
 | 
			
		||||
    // |    |    |    |    |GAME|QWER|              |    |    |    |    |    |    |
 | 
			
		||||
    // |----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
    // |Tab |    |    |    |    |CRPL|              |    |    |    |    |    |Del |
 | 
			
		||||
    // |----+----+----+----x----x----|              |----x----x----+----+----+----|
 | 
			
		||||
    // |EscC|    |    |    |    |    |              |    |    |    |    |    |Ent |
 | 
			
		||||
    // |----+----+----+----x----x----+----.    ,----|----x----x----+----+----+----|
 | 
			
		||||
    // |LSft|    |    |    |    |    |Home|    |End |    |    |    |    |    |Rsft|
 | 
			
		||||
    // `-------------------+----+----+----/    \----+----+----+-------------------'
 | 
			
		||||
    //                    |Cmd |LOWR|Bspc|      |Spc |RASE|RAlt|
 | 
			
		||||
    //                    `----+---------'      `--------------'
 | 
			
		||||
    [LR_BASE] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        KC_MUTE, _______, _______, _______, GAME1  , QWERTY ,                        KC_1   , _______, _______, _______, _______, _______,
 | 
			
		||||
        KC_TAB , ___________________________________________,                        ___________________________________________, KC_DEL ,
 | 
			
		||||
        PV_ESCC, ___________________________________________,                        ___________________________________________, KC_ENT ,
 | 
			
		||||
        KC_LSFT, ___________________________________________, _______,      _______, _______, _______, _______, _______, _______, KC_RSFT,
 | 
			
		||||
                                            KC_LGUI, SYMBOL , KC_BSPC,      KC_SPC , SYSCTL , KC_RALT
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    // ,-----------------------------.              ,-----------------------------.
 | 
			
		||||
    // |    |       NUMBERS_L        |              |         NUMBERS_R      |    |
 | 
			
		||||
    // |----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
    // |    |                        |              |                        |    |
 | 
			
		||||
    // |----+                        |              |                        +----|
 | 
			
		||||
    // |    |       QWERTY_L         |              |         QWERTY_R       |    |
 | 
			
		||||
    // |----+                        +----.    ,----|                        +----|
 | 
			
		||||
    // |    |                        |    |    |    |                        |    |
 | 
			
		||||
    // `-------------------+----+----+----/    \----+----+----+-------------------'
 | 
			
		||||
    //                    |    |    |    |      |    |    |    |
 | 
			
		||||
    //                    `----+---------'      `--------------'
 | 
			
		||||
    [LR_QWERTY] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        _______, ________________NUMBERS_L__________________,                        ________________NUMBERS_R__________________, _______,
 | 
			
		||||
        _______, _________________QWERTY_L1_________________,                        _________________QWERTY_R1_________________, _______,
 | 
			
		||||
        _______, _____________MOD_QWERTY_L2_________________,                        _________________QWERTY_R2_________________, _______,
 | 
			
		||||
        _______, _________________QWERTY_L3_________________, _______,      _______, _________________QWERTY_R3_________________, _______,
 | 
			
		||||
                                            _______, _______, _______,      _______, _______, _______
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    // ,-----------------------------.              ,-----------------------------.
 | 
			
		||||
    // |    |       NUMBERS_L        |              |         NUMBERS_R      |    |
 | 
			
		||||
    // |----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
    // |    |                        |              |                        |    |
 | 
			
		||||
    // |----+                        |              |                        +----|
 | 
			
		||||
    // |    |      CARPALX_L         |              |        CARPALX_R       |    |
 | 
			
		||||
    // |----+                        +----.    ,----|                        +----|
 | 
			
		||||
    // |    |                        |    |    |    |                        |    |
 | 
			
		||||
    // `-------------------+----+----+----/    \----+----+----+-------------------'
 | 
			
		||||
    //                    |    |    |    |      |    |    |    |
 | 
			
		||||
    //                    `----+---------'      `--------------'
 | 
			
		||||
    [LR_CARPALX] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        _______, ________________NUMBERS_L__________________,                        ________________NUMBERS_R__________________, _______,
 | 
			
		||||
        _______, ________________CARPALX_L1_________________,                        ________________CARPALX_R1_________________, _______,
 | 
			
		||||
        _______, ________________CARPALX_L2_________________,                        ________________CARPALX_R2_________________, _______,
 | 
			
		||||
        _______, ________________CARPALX_L3_________________, _______,      _______, ________________CARPALX_R3_________________, _______,
 | 
			
		||||
                                            _______, _______, _______,      _______, _______, _______
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    [LR_SYMBOL] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        KC_F12 , ______________________F_L__________________,                        ______________________F_R__________________, KC_F11 ,
 | 
			
		||||
        _______, _________________SYMBOL_L1_________________,                        _________________SYMBOL_R1_________________, _______,
 | 
			
		||||
        _______, _________________SYMBOL_L2_________________,                        _________________SYMBOL_R2_________________, _______,
 | 
			
		||||
        _______, _________________SYMBOL_L3_________________, _______,      _______, _________________SYMBOL_R3_________________, _______,
 | 
			
		||||
                                            _______, _______, _______,      _______, _______, _______
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    [LR_SYSCTL] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        _______, _______, _______, _______, _______, _______,                        _______, _______, _______, _______, _______, _______,
 | 
			
		||||
        _______, _________________SYSCTL_L1_________________,                        _________________SYSCTL_R1_________________, _______,
 | 
			
		||||
        _______, _________________SYSCTL_L2_________________,                        _________________SYSCTL_R2_________________, _______,
 | 
			
		||||
        _______, _________________SYSCTL_L3_________________, _______,      _______, _________________SYSCTL_R3_________________, _______,
 | 
			
		||||
                                            _______, _______, _______,      _______, _______, _______
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    [LR_KBCTL] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,                        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
 | 
			
		||||
        XXXXXXX, __________________KBCTL_L1_________________,                        __________________KBCTL_R1_________________, XXXXXXX,
 | 
			
		||||
        XXXXXXX, __________________KBCTL_L2_________________,                        __________________KBCTL_R2_________________, XXXXXXX,
 | 
			
		||||
        BASE   , __________________KBCTL_L3_________________, XXXXXXX,      XXXXXXX, __________________KBCTL_R3_________________, XXXXXXX,
 | 
			
		||||
                                            XXXXXXX, _______, XXXXXXX,      XXXXXXX, _______, XXXXXXX
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    // ,-----------------------------.              ,-----------------------------.
 | 
			
		||||
    // |    |       NUMBERS_L        |              |         NUMBERS_R      |    |
 | 
			
		||||
    // |----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
    // |    |                        |              |                        |    |
 | 
			
		||||
    // |----+                        |              |                        +----|
 | 
			
		||||
    // |ESC |       QWERTY_L         |              |         QWERTY_R       |    |
 | 
			
		||||
    // |----+                        +----.    ,----|                        +----|
 | 
			
		||||
    // |    |                        |    |    |    |                        |    |
 | 
			
		||||
    // `-------------------+----+----+----/    \----+----+----+-------------------'
 | 
			
		||||
    //                    |    |SPC |    |      |    |    |    |
 | 
			
		||||
    //                    `----+---------'      `--------------'
 | 
			
		||||
    [LR_GAME1] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        _______, ________________NUMBERS_L__________________,                        ________________NUMBERS_R__________________, KC_BSPC,
 | 
			
		||||
        _______, _________________QWERTY_L1_________________,                        _________________QWERTY_R1_________________, QWERTY ,
 | 
			
		||||
        KC_ESC , _________________QWERTY_L2_________________,                        _________________QWERTY_R2_________________, _______,
 | 
			
		||||
        _______, _________________QWERTY_L3_________________, _______,      _______, _________________QWERTY_R3_________________, _______,
 | 
			
		||||
                                        _______, _______, KC_SPC ,      _______, _______, _______
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
 | 
			
		||||
    [LR_GAME2] = LAYOUT_wrapper(
 | 
			
		||||
        // clang-format off
 | 
			
		||||
        _______, ________________NUMBERS_L__________________,                        ________________NUMBERS_R__________________, KC_BSPC,
 | 
			
		||||
        _______, _________________QWERTY_L1_________________,                        KC_Y   , KC_U   , KC_UP  , KC_O   , KC_P   , QWERTY ,
 | 
			
		||||
        KC_ESC , _________________QWERTY_L2_________________,                        KC_H   , KC_LEFT, KC_DOWN, KC_RGHT, KC_SCLN, _______,
 | 
			
		||||
        _______, _________________QWERTY_L3_________________, _______,      _______, _________________QWERTY_R3_________________, _______,
 | 
			
		||||
                                            _______, _______, KC_SPC ,      _______, _______, _______
 | 
			
		||||
        // clang-format on
 | 
			
		||||
        ),
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#ifdef ENCODER_ENABLE
 | 
			
		||||
bool encoder_update_user(uint8_t index, bool clockwise) {
 | 
			
		||||
    // if (index == 0) { /* First encoder */
 | 
			
		||||
    if (clockwise) {
 | 
			
		||||
        tap_code(KC_VOLU);
 | 
			
		||||
    } else {
 | 
			
		||||
        tap_code(KC_VOLD);
 | 
			
		||||
    }
 | 
			
		||||
    // }
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
// case PV_S04: if (record->event.pressed) PLAY_SONG(n04); return false; break;
 | 
			
		||||
#endif
 | 
			
		||||
    }
 | 
			
		||||
    return true;  // Process everything else normally
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,9 +0,0 @@
 | 
			
		|||
TAP_DANCE_ENABLE = yes
 | 
			
		||||
AUDIO_ENABLE     = no   # piezo speaker sounds
 | 
			
		||||
RGBLIGHT_ENABLE  = yes  # rgb leds underlight
 | 
			
		||||
ENCODER_ENABLE   = yes  # rotary knob
 | 
			
		||||
 | 
			
		||||
# Some extra stuff to make firmware smaller.
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
CONSOLE_ENABLE = no
 | 
			
		||||
COMMAND_ENABLE = no
 | 
			
		||||
| 
						 | 
				
			
			@ -1,33 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2017 Danny Nguyen <danny@hexwire.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
 | 
			
		||||
 | 
			
		||||
/* Select hand configuration */
 | 
			
		||||
 | 
			
		||||
#define MASTER_LEFT
 | 
			
		||||
// #define MASTER_RIGHT
 | 
			
		||||
// #define EE_HANDS
 | 
			
		||||
 | 
			
		||||
#define TAPPING_TERM 150
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#define RGBLED_NUM 6
 | 
			
		||||
#define RGBLIGHT_SLEEP
 | 
			
		||||
#define RGBLIGHT_HUE_STEP 1
 | 
			
		||||
#define RGBLIGHT_SAT_STEP 1
 | 
			
		||||
#define RGBLIGHT_VAL_STEP 1
 | 
			
		||||
| 
						 | 
				
			
			@ -1,45 +0,0 @@
 | 
			
		|||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "rs.h"
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
  [_QWERTY] = LAYOUT(
 | 
			
		||||
  //,----+----+----+----+----+----.              ,----+----+----+----+----+----.
 | 
			
		||||
     KC_GRV , KC_1  , KC_2  , KC_3  , KC_4  , KC_5  ,                KC_6  , KC_7  , KC_8  , KC_9  , KC_0  ,KC_MINS,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_TAB , KC_Q  , KC_W  , KC_E  , KC_R  , KC_T  ,                KC_Y  , KC_U  , KC_I  , KC_O  , KC_P  ,KC_EQL ,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_ESCC, 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_SPC,      KC_BSPC, KC_N  , KC_M  ,KC_COMM,KC_DOT ,KC_SLSH,KC_ENTS,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                       KC_LALT,KC_LGUI,KC_SPC ,         KC_BSPC,KC_CODE,KC_FN
 | 
			
		||||
  //                  `----+----+----'        `+---+----+----'
 | 
			
		||||
  ),
 | 
			
		||||
  [_CODE] = LAYOUT(
 | 
			
		||||
  //,----+----+----+----+----+----.              ,----+----+----+----+----+----.
 | 
			
		||||
     _______,_______,_______,_______,_______,_______,               _______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_GRV ,KC_EXLM, KC_AT ,KC_HASH, KC_DLR,KC_PERC,               KC_CIRC,KC_LPLT,KC_ASTR,KC_RPGT,KC_NEQL,_______,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     _______, KC_1  , KC_2  , KC_3  , KC_4  , KC_5  ,               KC_MINS,KC_LBRC, KC_UP ,KC_RBRC,_______,KC_BSLS,
 | 
			
		||||
  //|----+----+----+----+----+----+----.    ,----|----+----+----+----+----+----|
 | 
			
		||||
     _______, KC_6  , KC_7  , KC_8  , KC_9  , KC_0  ,_______,     _______,KC_AMPR,KC_LEFT,KC_DOWN,KC_RGHT,_______,KC_PIPE,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                       _______,_______, KC_DOT,         _______,_______,    _______
 | 
			
		||||
  //                  `----+----+----'        `----+----+----'
 | 
			
		||||
  ),
 | 
			
		||||
  [_FN] = LAYOUT(
 | 
			
		||||
  //,----+----+----+----+----+----.              ,----+----+----+----+----+----.
 | 
			
		||||
     _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 ,                KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10, KC_F11,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     _______,_______,_______,_______,_______,_______,               _______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_BLTG,KC_BLUP,_______,_______,_______,KC_BRMU,               _______,_______,KC_PGUP,_______,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----+----.    ,----|----+----+----+----+----+----|
 | 
			
		||||
     _______,KC_BLDN,_______,_______,KC_RST ,KC_BRMD,_______,     KC_VOLU,_______,KC_CTRA,KC_PGDN,KC_CTRE,_______,_______,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                       _______,_______, _______,         KC_VOLD,KC_MUTE,    _______
 | 
			
		||||
  //                  `----+----+----'        `----+----+----'
 | 
			
		||||
  ),
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
See [rs readme](../../../../users/rs/readme.md).
 | 
			
		||||
| 
						 | 
				
			
			@ -1,2 +0,0 @@
 | 
			
		|||
BACKLIGHT_ENABLE = yes
 | 
			
		||||
BOOTLOADER = atmel-dfu
 | 
			
		||||
| 
						 | 
				
			
			@ -1,30 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2017 Danny Nguyen <danny@keeb.io>
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
/* Select hand configuration */
 | 
			
		||||
 | 
			
		||||
//#define MASTER_LEFT
 | 
			
		||||
//#define MASTER_RIGHT
 | 
			
		||||
#define EE_HANDS
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_NUM
 | 
			
		||||
#define RGBLED_NUM 8
 | 
			
		||||
 | 
			
		||||
#undef RGBLED_SPLIT
 | 
			
		||||
#define RGBLED_SPLIT { RGBLED_NUM, 0}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,82 +0,0 @@
 | 
			
		|||
 /* Copyright 2021 SethBarberee <seth.barberee@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 "sethBarberee.h"
 | 
			
		||||
 | 
			
		||||
extern backlight_config_t backlight_config;
 | 
			
		||||
 | 
			
		||||
#define KC_RST QK_BOOT
 | 
			
		||||
#define KC_BL_S BL_STEP
 | 
			
		||||
#define KC_RTOG RGB_TOG
 | 
			
		||||
#define KC_RMOD RGB_MOD
 | 
			
		||||
#define KC_RHUI RGB_HUI
 | 
			
		||||
#define KC_RHUD RGB_HUD
 | 
			
		||||
#define KC_RSAI RGB_SAI
 | 
			
		||||
#define KC_RSAD RGB_SAD
 | 
			
		||||
#define KC_RVAI RGB_VAI
 | 
			
		||||
#define KC_RVAD RGB_VAD
 | 
			
		||||
#define KC_VK VK_TOGG
 | 
			
		||||
 | 
			
		||||
#define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
  [_QWERTY] = LAYOUT_wrapper(
 | 
			
		||||
     KC_ECAP, ________________NUMBER_LEFT________________,                 ________________NUMBER_RIGHT_______________,      KC_MINS,
 | 
			
		||||
     KC_TAB , _________________QWERTY_L1_________________,                 _________________QWERTY_R1_________________,      KC_DEL ,
 | 
			
		||||
     KC_LSFT, _________________QWERTY_L2_________________,                 _________________QWERTY_R2_________________,
 | 
			
		||||
     KC_LCTL, _________________QWERTY_L3_________________, KC_SPC,         KC_RASE, _________________QWERTY_R3_________________,KC_RSFT,
 | 
			
		||||
                                        KC_LGUI, KC_LOWR, KC_SPC,           KC_BSPC , KC_ENT, KC_LALT
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_LOWER] = LAYOUT(
 | 
			
		||||
     KC_TILD,KC_EXLM, KC_AT ,KC_HASH,KC_DLR ,KC_PERC,               KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,KC_BSPC,
 | 
			
		||||
     KC_RST ,_______,_______, KC_UP ,_______,_______,               KC_GRV , KC_P7 , KC_P8 , KC_P9 ,_______,_______,
 | 
			
		||||
     KC_DEL ,_______,KC_LEFT,KC_DOWN,KC_RGHT,KC_LBRC,               KC_RBRC, KC_P4 , KC_P5 , KC_P6 ,KC_PLUS,KC_PIPE,
 | 
			
		||||
     KC_BL_S,_______,_______,_______,_______,KC_LCBR,KC_LPRN,       KC_RPRN,KC_RCBR, KC_P1 , KC_P2 , KC_P3 ,KC_MINS,_______,
 | 
			
		||||
                                        _______,_______,KC_LPRN,       KC_DEL ,_______, 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 ,
 | 
			
		||||
     _______,_______,_______,_______,_______,_______,              _______, _______,_______,_______,_______,_______,
 | 
			
		||||
     _______,KC_MPRV,KC_MNXT,KC_VOLU,KC_PGUP,KC_UNDS,              KC_EQL ,KC_HOME,_______,_______,_______,KC_BSLS,
 | 
			
		||||
     KC_MUTE,KC_MSTP,KC_MPLY,KC_VOLD,KC_PGDN,KC_MINS,_______,      _______,KC_PLUS,KC_END ,_______,_______,_______,_______,
 | 
			
		||||
                                        _______,_______,_______,         _______,_______, _______
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
  [_ADJUST] = LAYOUT(
 | 
			
		||||
  //,----+----+----+----+----+----.              ,----+----+----+----+----+----.
 | 
			
		||||
     _______,_______,_______,_______,_______,_______,               _______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_RTOG,KC_RMOD,KC_RHUI,KC_RSAI,KC_RVAI,_______,               _______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----|              |----+----+----+----+----+----|
 | 
			
		||||
     KC_VK,  _______,KC_RHUD,KC_RSAD,KC_RVAD,_______,               _______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //|----+----+----+----+----+----+----.    ,----|----+----+----+----+----+----|
 | 
			
		||||
     KC_BL_S,KC_RST ,_______,_______,_______,_______,_______,     _______,_______,_______,_______,_______,_______,_______,
 | 
			
		||||
  //`----+----+----+--+-+----+----+----/    \----+----+----+----+----+----+----'
 | 
			
		||||
                       _______,_______,_______,         _______,_______, _______
 | 
			
		||||
  //                  `----+----+----'        `----+----+----'
 | 
			
		||||
  )
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void suspend_power_down_keymap(void){
 | 
			
		||||
    backlight_config.enable = false; // disable LED backlight
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void suspend_wakeup_init_keymap(void){
 | 
			
		||||
    backlight_config.enable = true; // enable LED backlight
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +0,0 @@
 | 
			
		|||
CONSOLE_ENABLE = no
 | 
			
		||||
NKRO_ENABLE = yes
 | 
			
		||||
VELOCIKEY_ENABLE = yes # I like RGB
 | 
			
		||||
TAP_DANCE_ENABLE = yes # fancy fancy Caps
 | 
			
		||||
LTO_ENABLE = yes # Enable link time optimization
 | 
			
		||||
| 
						 | 
				
			
			@ -1,30 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2017 Danny Nguyen <danny@keeb.io>
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
#undef USE_I2C
 | 
			
		||||
 | 
			
		||||
/* Select hand configuration */
 | 
			
		||||
 | 
			
		||||
// #define MASTER_LEFT
 | 
			
		||||
// #define MASTER_RIGHT
 | 
			
		||||
#define EE_HANDS
 | 
			
		||||
 | 
			
		||||
#define QMK_ESC_OUTPUT F6 // usually COL
 | 
			
		||||
#define QMK_ESC_INPUT D7 // usually ROW
 | 
			
		||||
#define QMK_LED B0
 | 
			
		||||
| 
						 | 
				
			
			@ -1,76 +0,0 @@
 | 
			
		|||
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "wanleg.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define LAYOUT_iris_base( \
 | 
			
		||||
    K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, \
 | 
			
		||||
    K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, \
 | 
			
		||||
    K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, \
 | 
			
		||||
	K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C  \
 | 
			
		||||
  ) \
 | 
			
		||||
  LAYOUT_wrapper( \
 | 
			
		||||
     K01,	K02,	K03,	K04,	K05,	K06,						K07,	K08,	K09,	K0A,	K0B,	K0C, \
 | 
			
		||||
     K11,	K12,	K13,	K14,	K15,	K16,						K17,	K18,	K19,	K1A,	K1B,	K1C, \
 | 
			
		||||
     K21,	K22,	K23,	K24,	K25,	K26,						K27,	K28,	K29,	K2A,	K2B,	K2C, \
 | 
			
		||||
     K31,	K32,	K33,	K34,	K35,	K36,	_______, _______,	K37,	K38,	K39,	K3A,	K3B,	K3C, \
 | 
			
		||||
                               _______, _______, _______,			_______, _______, _______                  \
 | 
			
		||||
  )
 | 
			
		||||
#define LAYOUT_iris_base_wrapper(...)       LAYOUT_iris_base(__VA_ARGS__)
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
  [_GK] = LAYOUT_iris_base_wrapper(
 | 
			
		||||
    _______________GherkinLike_0_______________,
 | 
			
		||||
    _______________GherkinLike_1_______________,
 | 
			
		||||
    _______________GherkinLike_2_______________,
 | 
			
		||||
	_______________GherkinLike_3_OneHand_______
 | 
			
		||||
  ),
 | 
			
		||||
  [ONE] = LAYOUT_wrapper(
 | 
			
		||||
    _______________Qwerty_Row__0_______________,
 | 
			
		||||
    _______________Qwerty_Row__1_______________,
 | 
			
		||||
	_______________Qwerty_Row__2_______________,
 | 
			
		||||
	KC_LCTL, KC_LGUI, KC_LALT, GHERKIN, SUBTER, SH_T(KC_SPC),		_______, _______,		SH_T(KC_SPC), SUPRA, KC_RGUI, KC_RALT, GHERKIN, KC_RCTL,
 | 
			
		||||
												_______, _______, _______,		_______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
  [SUP] = LAYOUT_iris_base_wrapper(
 | 
			
		||||
    ________________SUPRA_Row_0________________,
 | 
			
		||||
    ________________SUPRA_Row_1________________,
 | 
			
		||||
    ________________SUPRA_Row_2________________,
 | 
			
		||||
	________________SUPRA_Row_3________________
 | 
			
		||||
  ),
 | 
			
		||||
  [SUB] = LAYOUT_iris_base_wrapper(
 | 
			
		||||
    _______________SUBTER_Row__0_______________,
 | 
			
		||||
    _______________SUBTER_Row__1_______________,
 | 
			
		||||
    _______________SUBTER_Row__2_______________,
 | 
			
		||||
	_______________SUBTER_Row__3_______________
 | 
			
		||||
  ),
 | 
			
		||||
  [NUM] = LAYOUT_iris_base_wrapper(
 | 
			
		||||
    _______________NUMBERS_Row_0_______________,
 | 
			
		||||
    _______________NUMBERS_Row_1_______________,
 | 
			
		||||
	_______________NUMBERS_Row_2_______________,
 | 
			
		||||
	_______________NUMBERS_Row_3_______________
 | 
			
		||||
  ),
 | 
			
		||||
  [DIR] = LAYOUT_iris_base_wrapper(
 | 
			
		||||
    _____________DIRECTIONS_Row__0_____________,
 | 
			
		||||
    _____________DIRECTIONS_Row__1_____________,
 | 
			
		||||
    _____________DIRECTIONS_Row__2_____________,
 | 
			
		||||
	_______, _______, ONEHAND, _______, _______, _______, _______, _______, _______, _______, _______, _______
 | 
			
		||||
  ),
 | 
			
		||||
  [ETC] = LAYOUT_iris_base_wrapper(
 | 
			
		||||
    ______________ETCETERA_Row__0______________,
 | 
			
		||||
    ______________ETCETERA_Row__1______________,
 | 
			
		||||
	______________ETCETERA_Row__2______________,
 | 
			
		||||
	______________ETCETERA_Row__3______________
 | 
			
		||||
  )
 | 
			
		||||
  
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void matrix_init_keymap(void) {
 | 
			
		||||
  DDRD &= ~(1<<5);
 | 
			
		||||
  PORTD &= ~(1<<5);
 | 
			
		||||
 | 
			
		||||
  DDRB &= ~(1<<0);
 | 
			
		||||
  PORTB &= ~(1<<0);
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +0,0 @@
 | 
			
		|||
RGBLIGHT_ENABLE = no
 | 
			
		||||
BACKLIGHT_ENABLE  = no
 | 
			
		||||
 | 
			
		||||
SWAP_HANDS_ENABLE = yes
 | 
			
		||||
BOOTLOADER = qmk-dfu
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue