Created
March 17, 2019 13:10
-
-
Save ryonakae/8ae481f315069caa4986020683a37950 to your computer and use it in GitHub Desktop.
ErgoDash mini Keymap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This is the c configuration file for the keymap | |
Copyright 2012 Jun Wako <[email protected]> | |
Copyright 2015 Jack Humbert | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 2 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
GNU General Public License for more details. | |
You should have received a copy of the GNU General Public License | |
along with this program. If not, see <http://www.gnu.org/licenses/>. | |
*/ | |
#pragma once | |
/* Use I2C or Serial, not both */ | |
#define USE_SERIAL | |
// #define USE_I2C | |
/* Select hand configuration */ | |
#define MASTER_LEFT | |
// #define MASTER_RIGHT | |
// #define EE_HANDS | |
#undef RGBLED_NUM | |
#define RGBLIGHT_ANIMATIONS | |
#define RGBLED_NUM 20 | |
#define RGBLIGHT_HUE_STEP 10 | |
#define RGBLIGHT_SAT_STEP 17 | |
#define RGBLIGHT_VAL_STEP 17 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include QMK_KEYBOARD_H | |
extern keymap_config_t keymap_config; | |
#define _BASE 0 | |
#define _LOWER 1 | |
#define _RAISE 2 | |
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
[_BASE] = LAYOUT(\ | |
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_MINS, KC_EQL, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,\ | |
LCTL_T(KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_LBRC, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,\ | |
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, XXXXXXX, XXXXXXX, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS,\ | |
KC_LALT, KC_LT, KC_LPRN, KC_LGUI, LT(_LOWER, KC_LANG2), KC_SPC, XXXXXXX, XXXXXXX, LSFT_T(KC_ENT), LT(_RAISE, KC_LANG1), KC_RGUI, KC_RPRN, KC_GT, KC_GRV\ | |
), | |
[_LOWER] = LAYOUT(\ | |
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_UNDS, KC_PLUS, KC_6, KC_7, KC_8, KC_9, KC_0, _______,\ | |
LCTL(KC_TAB), KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_LCBR, KC_RCBR, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______,\ | |
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______,\ | |
_______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______\ | |
), | |
[_RAISE] = LAYOUT(\ | |
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_UNDS, KC_PLUS, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL,\ | |
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LCBR, KC_RCBR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_F11, KC_F12,\ | |
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, XXXXXXX, XXXXXXX, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______,\ | |
_______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______\ | |
) | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BOOTMAGIC_ENABLE = lite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment