Cleaned up keymaps
parent
464528faaf
commit
c7a193a7d2
|
@ -2,29 +2,15 @@
|
||||||
|
|
||||||
#include "betalupi_ergodox.h"
|
#include "betalupi_ergodox.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#include "keymap_russian.h"
|
#include "keymap_russian.h"
|
||||||
#include "keymap_us_international.h"
|
#include "keymap_us_international.h"
|
||||||
|
|
||||||
|
|
||||||
#include "layers.h"
|
#include "layers.h"
|
||||||
#include "tapdance.h"
|
#include "tapdance.h"
|
||||||
|
|
||||||
|
|
||||||
#define KC_MAC_UNDO LGUI(KC_Z)
|
extern rgb_config_t rgb_matrix_config;
|
||||||
#define KC_MAC_CUT LGUI(KC_X)
|
|
||||||
#define KC_MAC_COPY LGUI(KC_C)
|
|
||||||
#define KC_MAC_PASTE LGUI(KC_V)
|
|
||||||
#define KC_PC_UNDO LCTL(KC_Z)
|
|
||||||
#define KC_PC_CUT LCTL(KC_X)
|
|
||||||
#define KC_PC_COPY LCTL(KC_C)
|
|
||||||
#define KC_PC_PASTE LCTL(KC_V)
|
|
||||||
#define ES_LESS_MAC KC_GRAVE
|
|
||||||
#define ES_GRTR_MAC LSFT(KC_GRAVE)
|
|
||||||
#define ES_BSLS_MAC ALGR(KC_6)
|
|
||||||
#define NO_PIPE_ALT KC_GRAVE
|
|
||||||
#define NO_BSLS_ALT KC_EQUAL
|
|
||||||
#define LSA_T(kc) MT(MOD_LSFT | MOD_LALT, kc)
|
|
||||||
#define BP_NDSH_MAC ALGR(KC_8)
|
|
||||||
|
|
||||||
/* Text keyboard
|
/* Text keyboard
|
||||||
*
|
*
|
||||||
|
@ -48,21 +34,6 @@
|
||||||
* `--------------------' `----------------------'
|
* `--------------------' `----------------------'
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* LED layout template
|
|
||||||
#define LAYER_COLEMAK_LEDS LEDS_ergodox(\
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
\
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF \
|
|
||||||
)
|
|
||||||
*/
|
|
||||||
|
|
||||||
// LED colors, in HSV.
|
// LED colors, in HSV.
|
||||||
#define LC_OFF LC_HSV( 0, 0, 0)
|
#define LC_OFF LC_HSV( 0, 0, 0)
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
#define LAYER_ARROWS LAYOUT_ergodox(\
|
#define LAYER_ARROWS LAYOUT_ergodox(\
|
||||||
KC_TRANSPARENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
KC_TRANSPARENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
||||||
KC_TRANSPARENT, LGUI(LCTL(KC_ENTER)), KC_NO, KC_UP, KC_NO, KC_NO, KC_TRANSPARENT,\
|
KC_TRANSPARENT, LGUI(LCTL(KC_ENTER)), KC_NO, KC_UP, KC_NO, KC_PGUP, KC_TRANSPARENT,\
|
||||||
KC_LGUI, LALT(KC_LCTRL), KC_LEFT, KC_DOWN, KC_RIGHT, KC_NO,\
|
KC_LGUI, LALT(KC_LCTRL), KC_LEFT, KC_DOWN, KC_RIGHT, KC_PGDN,\
|
||||||
KC_TRANSPARENT, LGUI(KC_LCTRL), KC_NO, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
KC_TRANSPARENT, LGUI(KC_LCTRL), KC_NO, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||||
\
|
\
|
||||||
|
@ -14,8 +14,8 @@
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
||||||
KC_TRANSPARENT, KC_NO, KC_PGUP, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
KC_TRANSPARENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
||||||
KC_NO, KC_PGDOWN, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
||||||
KC_TRANSPARENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
KC_TRANSPARENT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_TRANSPARENT,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
||||||
\
|
\
|
||||||
|
@ -26,14 +26,14 @@
|
||||||
|
|
||||||
#define LAYER_ARROWS_LEDS LEDS_ergodox(\
|
#define LAYER_ARROWS_LEDS LEDS_ergodox(\
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||||
LC_YELLOW, LC_OFF, LC_GREEN, LC_OFF, LC_OFF, \
|
LC_YELLOW, LC_OFF, LC_GREEN, LC_OFF, LC_ORANGE, \
|
||||||
LC_ORANGE, LC_GREEN, LC_GREEN, LC_GREEN, LC_OFF, \
|
LC_ORANGE, LC_GREEN, LC_GREEN, LC_GREEN, LC_ORANGE, \
|
||||||
LC_ORANGE, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
LC_ORANGE, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_PINK, \
|
LC_OFF, LC_OFF, LC_OFF, LC_PINK, \
|
||||||
\
|
\
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||||
LC_OFF, LC_GREEN, LC_OFF, LC_OFF, LC_OFF, \
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||||
LC_OFF, LC_GREEN, LC_OFF, LC_OFF, LC_OFF, \
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF \
|
LC_OFF, LC_OFF, LC_OFF, LC_OFF \
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,26 +2,26 @@
|
||||||
#include "keymap.h"
|
#include "keymap.h"
|
||||||
|
|
||||||
#define LAYER_FKEYS LAYOUT_ergodox(\
|
#define LAYER_FKEYS LAYOUT_ergodox(\
|
||||||
KC_TRANSPARENT, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRANSPARENT,\
|
KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO,\
|
||||||
KC_TRANSPARENT, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_TRANSPARENT,\
|
KC_NO, KC_F11, KC_F12, KC_F13, KC_F14, KC_F15, KC_NO,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
||||||
\
|
\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_NO,\
|
||||||
KC_TRANSPARENT,\
|
KC_NO,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_NO, KC_NO,\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
KC_TRANSPARENT, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRANSPARENT, \
|
KC_NO, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_NO, \
|
||||||
KC_TRANSPARENT, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_TRANSPARENT, \
|
KC_NO, KC_F16, KC_F17, KC_F18, KC_F19, KC_F20, KC_NO, \
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, \
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, \
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT, \
|
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||||
\
|
\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_NO,\
|
||||||
KC_TRANSPARENT, \
|
KC_NO, \
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_TRANSPARENT \
|
KC_NO, KC_NO, KC_NO \
|
||||||
)
|
)
|
||||||
|
|
||||||
#define LAYER_FKEYS_LEDS LEDS_ergodox(\
|
#define LAYER_FKEYS_LEDS LEDS_ergodox(\
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
KC_ESCAPE, KC_1, KC_2, KC_3, KC_4, KC_5, TG(LAYER_NUMPAD_IDX),\
|
KC_ESCAPE, KC_1, KC_2, KC_3, KC_4, KC_5, TG(LAYER_NUMPAD_IDX),\
|
||||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LGUI,\
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LGUI,\
|
||||||
KC_DELETE, KC_A, KC_S, KC_D, KC_F, KC_G,\
|
KC_DELETE, KC_A, KC_S, KC_D, KC_F, KC_G,\
|
||||||
M_RU_CTRL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_TRANSPARENT,\
|
M_RU_CTRL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO,\
|
||||||
MO(LAYER_DESKTOP_IDX), MO(LAYER_FKEYS_IDX), KC_LALT, KC_LSHIFT, MO(LAYER_ARROWS_IDX),\
|
MO(LAYER_DESKTOP_IDX), MO(LAYER_FKEYS_IDX), KC_LALT, KC_LSHIFT, MO(LAYER_ARROWS_IDX),\
|
||||||
\
|
\
|
||||||
KC_PSCREEN, KC_NO,\
|
KC_PSCREEN, KC_NO,\
|
||||||
|
@ -14,10 +14,10 @@
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
LCTL(KC_LALT), KC_6, KC_7, KC_8, KC_9, KC_0, LGUI(KC_TAB),\
|
LCTL(KC_LALT), KC_6, KC_7, KC_8, KC_9, KC_0, LGUI(KC_TAB),\
|
||||||
KC_TRANSPARENT, KC_Y, KC_U, KC_I, KC_O, KC_TRANSPARENT, KC_TRANSPARENT,\
|
KC_NO, KC_Y, KC_U, KC_I, KC_O, KC_NO, KC_NO,\
|
||||||
KC_H, KC_J, KC_K, MO(LAYER_SYMBOLS_IDX), KC_L, KC_TRANSPARENT,\
|
KC_H, KC_J, KC_K, MO(LAYER_SYMBOLS_IDX), KC_L, KC_NO,\
|
||||||
KC_TRANSPARENT, KC_N, KC_M, KC_P, KC_DOT, KC_COMMA, KC_TRANSPARENT,\
|
KC_NO, KC_N, KC_M, KC_P, KC_DOT, KC_COMMA, KC_NO,\
|
||||||
KC_RIGHT, KC_TRANSPARENT, KC_TRANSPARENT, TO(LAYER_KEYBOARD_IDX), KC_TRANSPARENT,\
|
KC_RIGHT, KC_NO, KC_NO, TO(LAYER_KEYBOARD_IDX), KC_NO,\
|
||||||
\
|
\
|
||||||
LGUI(KC_SPACE), TO(LAYER_RUSSIAN_IDX),\
|
LGUI(KC_SPACE), TO(LAYER_RUSSIAN_IDX),\
|
||||||
KC_NO,\
|
KC_NO,\
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
\
|
\
|
||||||
KC_NO, KC_NO,\
|
KC_NO, KC_NO,\
|
||||||
KC_NO,\
|
KC_NO,\
|
||||||
KC_TRANSPARENT, KC_TRANSPARENT, KC_NO,\
|
KC_NO, KC_NO, KC_NO,\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
KC_NO, KC_CIRC, KC_AMPR, KC_ASTR, KC_NO, KC_NO, KC_NO,\
|
KC_NO, KC_CIRC, KC_AMPR, KC_ASTR, KC_NO, KC_NO, KC_NO,\
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
\
|
\
|
||||||
KC_NO, KC_NO,\
|
KC_NO, KC_NO,\
|
||||||
KC_NO,\
|
KC_NO,\
|
||||||
KC_NO, KC_NO, KC_TRANSPARENT\
|
KC_NO, KC_NO, KC_NO\
|
||||||
)
|
)
|
||||||
|
|
||||||
#define LAYER_SYMBOLS_LEDS LEDS_ergodox(\
|
#define LAYER_SYMBOLS_LEDS LEDS_ergodox(\
|
||||||
|
|
Loading…
Reference in New Issue