mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-27 03:28:46 +06:00
de29da973a
* [Keymap] iris@nstickney: improve RGB init Perfecting the rgb backlight initialization with a delay for each color; also start and stop the animation at the "default layer" color. * [Keymap] iris,ergodox@nstickney fix FN on SYMB The function key was not operational on the SYMB and SYSH layers due to other keycodes being mapped over MO() on those layers. The offending keycodes have been moved to other keys. * [Keymap] add @nstickney's userspace Pulled common code out to a userspace directory for my iris and ergodox keymaps. * [Keymap] iris@nstickney add image to README Added an image from keyboard-layout-editor.com to meet the README standard. * iris@nstickney hue values now `uint8_t` (#6050)
25 lines
577 B
C
25 lines
577 B
C
#include QMK_KEYBOARD_H
|
|
|
|
#pragma once
|
|
#define USE_SERIAL
|
|
#define MASTER_LEFT
|
|
|
|
#undef UNICODE_SELECTED_MODES
|
|
#define UNICODE_SELECTED_MODES UC_OSX, UC_LNX, UC_WINC
|
|
|
|
// Layers
|
|
#define BASE 0 // Base layer
|
|
#define SYMB 1 // Symbols
|
|
#define SYSH 2 // Symbols, shifted
|
|
#define NUMP 3 // Numpad
|
|
#define FCTN 4 // Function
|
|
|
|
// Make keymaps more clear
|
|
#define CC_ESC LCTL_T(KC_ESC)
|
|
#define CC_QUOT RCTL_T(KC_QUOT)
|
|
#define AC_SLSH LALT_T(KC_SLSH)
|
|
#define AC_EQL RALT_T(KC_EQL)
|
|
#define FC_BSLS LT(FCTN, KC_BSLS)
|
|
#define FC_MINS LT(FCTN, KC_MINS)
|
|
|
|
enum tap_dances {LOCKS = 0, LAYERS = 1}; |