aboutsummaryrefslogtreecommitdiff
path: root/keyboards/orthodox
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/orthodox')
-rw-r--r--keyboards/orthodox/keymaps/drashna/config.h2
-rw-r--r--keyboards/orthodox/keymaps/drashna/keymap.c52
-rw-r--r--keyboards/orthodox/keymaps/drashna/rules.mk2
3 files changed, 31 insertions, 25 deletions
diff --git a/keyboards/orthodox/keymaps/drashna/config.h b/keyboards/orthodox/keymaps/drashna/config.h
index 2257b62fd..09df12d9e 100644
--- a/keyboards/orthodox/keymaps/drashna/config.h
+++ b/keyboards/orthodox/keymaps/drashna/config.h
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
45#ifdef RGBLIGHT_ENABLE 45#ifdef RGBLIGHT_ENABLE
46#define RGB_DI_PIN D3 46#define RGB_DI_PIN D3
47#define RGBLED_NUM 16 // Number of LEDs 47#define RGBLED_NUM 16 // Number of LEDs
48#define RGBLIGHT_ANIMATIONS 48
49#define RGBLIGHT_HUE_STEP 12 49#define RGBLIGHT_HUE_STEP 12
50#define RGBLIGHT_SAT_STEP 12 50#define RGBLIGHT_SAT_STEP 12
51#define RGBLIGHT_VAL_STEP 12 51#define RGBLIGHT_VAL_STEP 12
diff --git a/keyboards/orthodox/keymaps/drashna/keymap.c b/keyboards/orthodox/keymaps/drashna/keymap.c
index 67f732c12..25296ca4f 100644
--- a/keyboards/orthodox/keymaps/drashna/keymap.c
+++ b/keyboards/orthodox/keymaps/drashna/keymap.c
@@ -30,41 +30,47 @@ uint8_t last_led;
30uint8_t last_osm; 30uint8_t last_osm;
31#endif 31#endif
32 32
33// Each layer gets a name for readability, which is then used in the keymap matrix below.
34// The underscores don't mean anything - you can have a layer called STUFF or any other name.
35// Layer names don't all need to be of the same length, obviously, and you can also skip them
36// entirely and just use numbers.
37 33
38// Fillers to make layering more clear 34#define LAYOUT_orthodox_base( \
39#define _______ KC_TRNS 35 K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
40#define XXXXXXX KC_NO 36 K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \
37 K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
38 ) \
39 LAYOUT_wrapper( \
40 KC_ESC, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, KC_BSPC, \
41 KC_TAB, K11, K12, K13, K14, K15, ALT_APP, OS_LGUI, KC_LALT, OS_RGUI, K16, K17, K18, K19, K1A, KC_QUOT, \
42 KC_MLSF, CTL_T(K21), K22, K23, K24, K25, LOWER, KC_SPACE,KC_BSPC, KC_DEL, KC_ENT, RAISE, K26, K27, K28, K29, CTL_T(K2A), KC_MRSF \
43 )
44#define LAYOUT_orthodox_base_wrapper(...) LAYOUT_orthodox_base(__VA_ARGS__)
41 45
42 46
43 47
44const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 48const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
45 49
46[_QWERTY] = LAYOUT_wrapper(\ 50[_QWERTY] = LAYOUT_orthodox_base_wrapper(
47 KC_ESC, _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, KC_BSPC, 51 _________________QWERTY_L1_________________, _________________QWERTY_R1_________________,
48 KC_TAB, _________________QWERTY_L2_________________, ___________ORTHODOX_THUMP_TOP_____________, _________________QWERTY_R2_________________, KC_QUOT, 52 _________________QWERTY_L2_________________, _________________QWERTY_R2_________________,
49 KC_MLSF, _________________QWERTY_L3_________________, ___________________ORTHODOX_THUMB_BOTTOM____________________, _________________QWERTY_R3_________________, KC_MRSF 53 _________________QWERTY_L3_________________, _________________QWERTY_R3_________________
50), 54),
51 55
52[_COLEMAK] = LAYOUT_wrapper(\ 56[_COLEMAK] = LAYOUT_orthodox_base_wrapper(
53 KC_ESC, _________________COLEMAK_L1________________, _________________COLEMAK_R1________________, KC_BSPC, 57 _________________COLEMAK_L1________________, _________________COLEMAK_R1________________,
54 KC_TAB, _________________COLEMAK_L2________________, ___________ORTHODOX_THUMP_TOP_____________, _________________COLEMAK_R2________________, KC_QUOT, 58 _________________COLEMAK_L2________________, _________________COLEMAK_R2________________,
55 KC_MLSF, _________________COLEMAK_L3________________, ___________________ORTHODOX_THUMB_BOTTOM____________________, _________________COLEMAK_R3________________, KC_MRSF 59 _________________COLEMAK_L3________________, _________________COLEMAK_R3________________
56), 60),
57 61
58[_DVORAK] = LAYOUT_wrapper(\ 62[_DVORAK] = LAYOUT_orthodox_base_wrapper(
59 KC_ESC, _________________DVORAK_L1_________________, _________________DVORAK_R1_________________, KC_BSPC, 63 _________________DVORAK_L1_________________, _________________DVORAK_R1_________________,
60 KC_TAB, _________________DVORAK_L2_________________, ___________ORTHODOX_THUMP_TOP_____________, _________________DVORAK_R2_________________, KC_MINS, 64 _________________DVORAK_L2_________________, _________________DVORAK_R2_________________,
61 KC_MLSF, _________________DVORAK_L3_________________, ___________________ORTHODOX_THUMB_BOTTOM____________________, _________________DVORAK_R3_________________, KC_MRSF 65 _________________DVORAK_L3_________________, _________________DVORAK_R3_________________
62), 66),
63[_WORKMAN] = LAYOUT_wrapper(\ 67
64 KC_ESC, _________________WORKMAN_L1________________, _________________WORKMAN_R1________________, KC_BSPC, 68[_WORKMAN] = LAYOUT_orthodox_base_wrapper(
65 KC_TAB, _________________WORKMAN_L2________________, ___________ORTHODOX_THUMP_TOP_____________, _________________WORKMAN_R2________________, KC_MINS, 69 _________________WORKMAN_L1________________, _________________WORKMAN_R1________________,
66 KC_MLSF, _________________WORKMAN_L3________________, ___________________ORTHODOX_THUMB_BOTTOM____________________, _________________WORKMAN_R3________________, KC_MRSF 70 _________________WORKMAN_L2________________, _________________WORKMAN_R2________________,
71 _________________WORKMAN_L3________________, _________________WORKMAN_R3________________
67), 72),
73
68[_MODS] = LAYOUT_wrapper(\ 74[_MODS] = LAYOUT_wrapper(\
69 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 75 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
70 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 76 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
diff --git a/keyboards/orthodox/keymaps/drashna/rules.mk b/keyboards/orthodox/keymaps/drashna/rules.mk
index a826c664a..f870c3a7d 100644
--- a/keyboards/orthodox/keymaps/drashna/rules.mk
+++ b/keyboards/orthodox/keymaps/drashna/rules.mk
@@ -10,6 +10,6 @@ NKRO_ENABLE = yes
10 10
11INDICATOR_LIGHTS = yes 11INDICATOR_LIGHTS = yes
12MACROS_ENABLED = no 12MACROS_ENABLED = no
13RGBLIGHT_TWINKLE = no 13RGBLIGHT_TWINKLE = yes
14 14
15BOOTLOADER = qmk-dfu 15BOOTLOADER = qmk-dfu