forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
This is the c configuration file for the keymap | ||
Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
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 | ||
|
||
/* Select hand configuration */ | ||
|
||
#define MASTER_LEFT | ||
// #define MASTER_RIGHT | ||
// #define EE_HANDS | ||
|
||
#define QUICK_TAP_TERM 0 | ||
#define TAPPING_TERM 100 | ||
|
||
#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 27 | ||
#define RGBLIGHT_LIMIT_VAL 120 | ||
#define RGBLIGHT_HUE_STEP 10 | ||
#define RGBLIGHT_SAT_STEP 17 | ||
#define RGBLIGHT_VAL_STEP 17 | ||
|
||
// Underglow | ||
/* | ||
#undef RGBLED_NUM | ||
#define RGBLED_NUM 14 // Number of LEDs | ||
#define RGBLIGHT_SLEEP | ||
*/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#include QMK_KEYBOARD_H | ||
|
||
enum layers { | ||
_BASE = 0, | ||
_SYM, | ||
_FNC, | ||
_SETTINGS, | ||
_GAME, | ||
}; | ||
|
||
#define FNC MO(_FNC) | ||
#define SYM MO(_SYM) | ||
#define SETT MO(_SETTINGS) | ||
|
||
#define SFT_BSPC MT(MOD_LSFT, KC_BSPC) | ||
|
||
#define GAME TG(_GAME) | ||
|
||
#define M_LALT OSM(MOD_LALT) | ||
#define M_RALT OSM(MOD_RALT) | ||
#define M_LGUI OSM(MOD_LGUI) | ||
#define M_LSFT OSM(MOD_LSFT) | ||
#define M_CTRL OSM(MOD_LCTL) | ||
|
||
#define DEL_W LCTL(KC_BSPC) | ||
#define COPY LCTL(KC_C) | ||
#define PSTE LCTL(KC_V) | ||
#define CUT LCTL(KC_X) | ||
#define UNDO LCTL(KC_Z) | ||
#define SSHOT LGUI(LSFT(KC_S)) | ||
#define DSK_L LCTL(LGUI(KC_LEFT)) | ||
#define DSK_R LCTL(LGUI(KC_RGHT)) | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_BASE] = LAYOUT( | ||
KC_ESC, 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_QUOT, | ||
KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_RSFT, | ||
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
KC_LALT, KC_LGUI, FNC, KC_SPC, KC_BSPC, SYM, KC_ENT, KC_RGUI | ||
), | ||
|
||
[_SYM] = LAYOUT( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, KC_EXLM, KC_AT, KC_LPRN, KC_RPRN, KC_QUES, KC_PLUS, KC_MINUS, KC_EQL, KC_QUOT, KC_DQUO, _______, | ||
_______, KC_HASH, KC_PERC, KC_LCBR, KC_RCBR, KC_GRV, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_COLN, _______, | ||
_______, KC_CIRC, KC_DLR, KC_LBRC, KC_RBRC, KC_TILD, _______, _______, KC_ASTR, KC_AMPR, KC_UNDS, KC_BSLS, KC_PIPE, _______, | ||
_______, _______, SETT, _______, _______, _______, _______, _______ | ||
), | ||
|
||
[_FNC] = LAYOUT( | ||
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
_______, KC_ESC, _______, DSK_L, DSK_R, _______, _______, KC_HOME, KC_END, KC_F11, KC_F5, KC_F12, | ||
_______, M_LALT, M_LGUI, M_LSFT, M_CTRL, M_RALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, | ||
_______, UNDO, CUT, COPY, KC_TAB, PSTE, _______, _______, DEL_W, KC_BSPC, SSHOT, _______, _______, GAME, | ||
_______, _______, _______, _______, _______, _______, _______, _______ | ||
|
||
), | ||
[_SETTINGS] = LAYOUT( | ||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, | ||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, | ||
_______, _______, _______, _______, _______, _______, _______, _______ | ||
), | ||
[_GAME] = LAYOUT( | ||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______, _______, KC_Q, KC_W, KC_UP, KC_E, KC_R, _______, | ||
_______, _______, _______, _______, _______, _______, KC_ESC, KC_LEFT, KC_DOWN, KC_RGHT, KC_LSFT, _______, | ||
_______, _______, _______, _______, _______, _______, _______, _______, KC_A, KC_S, KC_D, KC_F, KC_LCTL, _______, | ||
_______, _______, _______, _______, _______, KC_Z, KC_X, KC_C | ||
), | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
CONVERT_TO = liatris | ||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | ||
MOUSEKEY_ENABLE = no # Mouse keys | ||
EXTRAKEY_ENABLE = no # Audio control and System control | ||
CONSOLE_ENABLE = no # Console for debug | ||
COMMAND_ENABLE = no # Commands for debug and configuration | ||
NKRO_ENABLE = yes | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
AUDIO_ENABLE = no # Audio output | ||
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
SWAP_HANDS_ENABLE = no # Enable one-hand typing | ||
OLED_ENABLE= no # OLED display | ||
|
||
# If you want to change the display of OLED, you need to change here | ||
SRC += ./lib/rgb_state_reader.c \ | ||
./lib/layer_state_reader.c \ | ||
./lib/logo_reader.c \ | ||
./lib/keylogger.c \ | ||
# ./lib/mode_icon_reader.c \ | ||
# ./lib/host_led_state_reader.c \ | ||
# ./lib/timelogger.c \ |