aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-17 12:45:50 -0800
committerGitHub <noreply@github.com>2021-11-17 12:45:50 -0800
commit254e26554b27aafc1d9676cec63263ede738bf57 (patch)
tree54cf431188098a22f75a2288edc18bee2005d311
parent2c5d66987da4c7d5857cab8b09c4f852b4d8e4d9 (diff)
downloadqmk_firmware-254e26554b27aafc1d9676cec63263ede738bf57.tar.gz
qmk_firmware-254e26554b27aafc1d9676cec63263ede738bf57.zip
[Keymap] updates for oled, and diablo 2 layer - Drashna (#15194)
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h4
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h3
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c12
-rw-r--r--keyboards/moonlander/keymaps/drashna/keymap.c10
-rw-r--r--keyboards/work_louder/work_board/keymaps/drashna/keymap.c2
-rw-r--r--users/drashna/config.h22
-rw-r--r--users/drashna/drashna.h1
-rw-r--r--users/drashna/oled_stuff.c8
-rw-r--r--users/drashna/process_records.c2
9 files changed, 51 insertions, 13 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h
index 4dbe03acb..986ccae69 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h
@@ -102,6 +102,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
102// #define EXTERNAL_EEPROM_ADDRESS_SIZE 2 102// #define EXTERNAL_EEPROM_ADDRESS_SIZE 2
103// #define DEBUG_EEPROM_OUTPUT 103// #define DEBUG_EEPROM_OUTPUT
104 104
105#ifdef EEPROM_SPI
106# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8195
107#endif
108
105/* pmw3360 config */ 109/* pmw3360 config */
106#define PMW3360_CS_PIN B0 110#define PMW3360_CS_PIN B0
107#define PMW3360_SPI_MODE 3 111#define PMW3360_SPI_MODE 3
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h
index a984ba488..577b709bb 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/config.h
@@ -18,5 +18,4 @@
18 18
19#define TRACKBALL_DPI_OPTIONS { 1200, 1800, 2600, 3400 } 19#define TRACKBALL_DPI_OPTIONS { 1200, 1800, 2600, 3400 }
20 20
21#undef DEBOUNCE 21#define DEBOUNCE 45
22#define DEBOUNCE 15
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
index 5bfc21fd1..a52a2a3dc 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
@@ -94,6 +94,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
94 SFT_T(KC_SPC), KC_J, _______, 94 SFT_T(KC_SPC), KC_J, _______,
95 ALT_T(KC_Q), KC_LGUI, _______, _______ 95 ALT_T(KC_Q), KC_LGUI, _______, _______
96 ), 96 ),
97 [_DIABLOII] = LAYOUT_5x6_right(
98 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_GRV, _______, _______, _______, _______, _______, _______,
99 KC_TAB, KC_A, KC_T, KC_Q, KC_I, KC_M, _______, _______, _______, _______, _______, _______,
100 KC_S, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, _______, _______, _______, _______,
101 KC_LCTL, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, _______, _______, _______,
102 KC_F, KC_L, KC_NO, TG(_DIABLOII),
103 _______, KC_G, _______,
104 KC_LSFT, _______, _______,
105 KC_LCTL, KC_V, _______, _______
106 ),
97 [_LOWER] = LAYOUT_5x6_right_wrapper( 107 [_LOWER] = LAYOUT_5x6_right_wrapper(
98 KC_F12, _________________FUNC_LEFT_________________, _________________FUNC_RIGHT________________, KC_F11, 108 KC_F12, _________________FUNC_LEFT_________________, _________________FUNC_RIGHT________________, KC_F11,
99 _______, _________________LOWER_L1__________________, _________________LOWER_R1__________________, _______, 109 _______, _________________LOWER_L1__________________, _________________LOWER_R1__________________, _______,
@@ -122,7 +132,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
122 HPT_DWLI, HPT_DWLD, TG_GAME, TG_DBLO, 132 HPT_DWLI, HPT_DWLD, TG_GAME, TG_DBLO,
123 HPT_TOG, HPT_BUZ, KC_NUKE, 133 HPT_TOG, HPT_BUZ, KC_NUKE,
124 _______, _______, _______, 134 _______, _______, _______,
125 _______, _______, KC_NUKE, _______ 135 _______, TG(_DIABLOII),KC_NUKE, _______
126 ), 136 ),
127}; 137};
128 138
diff --git a/keyboards/moonlander/keymaps/drashna/keymap.c b/keyboards/moonlander/keymaps/drashna/keymap.c
index 257959c07..2d90a3172 100644
--- a/keyboards/moonlander/keymaps/drashna/keymap.c
+++ b/keyboards/moonlander/keymaps/drashna/keymap.c
@@ -82,6 +82,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
82 KC_NO, KC_NO, KC_L, KC_J, KC_F, KC_PSCR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, 82 KC_NO, KC_NO, KC_L, KC_J, KC_F, KC_PSCR, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
83 KC_DIABLO_CLEAR, SFT_T(KC_SPACE), ALT_T(KC_Q), KC_PGDN, KC_DEL, KC_ENT 83 KC_DIABLO_CLEAR, SFT_T(KC_SPACE), ALT_T(KC_Q), KC_PGDN, KC_DEL, KC_ENT
84 ), 84 ),
85 [_DIABLOII] = LAYOUT_moonlander_wrapper(
86 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_GRV, KC_NO, KC_TRNS, KC_F9, KC_F10, KC_F11, KC_F12, KC_NO, KC_NO,
87 KC_TAB, KC_A, KC_T, KC_Q, KC_I, KC_M, TG(_DIABLOII), KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
88 KC_S, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_TRNS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
89 KC_LCTL, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_N, KC_M, KC_NO, KC_NO, KC_NO, KC_NO,
90 KC_NO, KC_NO, KC_G, KC_F, KC_L, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
91 KC_G, KC_LSFT, KC_LCTL, KC_PGDN, KC_DEL, KC_ENT
92 ),
85 93
86 [_LOWER] = LAYOUT_moonlander_wrapper( 94 [_LOWER] = LAYOUT_moonlander_wrapper(
87 KC_F12, _________________FUNC_LEFT_________________, _______, _______, _________________FUNC_RIGHT________________, KC_F11, 95 KC_F12, _________________FUNC_LEFT_________________, _______, _______, _________________FUNC_RIGHT________________, KC_F11,
@@ -103,7 +111,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
103 111
104 [_ADJUST] = LAYOUT_moonlander_wrapper( 112 [_ADJUST] = LAYOUT_moonlander_wrapper(
105 KC_MAKE, _________________FUNC_LEFT_________________, UC_MOD, KC_NUKE, _________________ADJUST_R1_________________, KC_RST, 113 KC_MAKE, _________________FUNC_LEFT_________________, UC_MOD, KC_NUKE, _________________ADJUST_R1_________________, KC_RST,
106 VRSN, _________________ADJUST_L1_________________, _______, _______, _________________ADJUST_R1_________________, EEP_RST, 114 VRSN, _________________ADJUST_L1_________________, TG(_DIABLOII), _______, _________________ADJUST_R1_________________, EEP_RST,
107 _______, _________________ADJUST_L2_________________, _______, _______, _________________ADJUST_R2_________________, RGB_IDL, 115 _______, _________________ADJUST_L2_________________, _______, _______, _________________ADJUST_R2_________________, RGB_IDL,
108 KEYLOCK, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, TG_MODS, 116 KEYLOCK, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, TG_MODS,
109 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PAUS, 117 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PAUS,
diff --git a/keyboards/work_louder/work_board/keymaps/drashna/keymap.c b/keyboards/work_louder/work_board/keymaps/drashna/keymap.c
index fb86275da..3bbb81bf0 100644
--- a/keyboards/work_louder/work_board/keymaps/drashna/keymap.c
+++ b/keyboards/work_louder/work_board/keymaps/drashna/keymap.c
@@ -117,7 +117,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
117 clockwise ? rgb_matrix_step() : rgb_matrix_step_reverse(); 117 clockwise ? rgb_matrix_step() : rgb_matrix_step_reverse();
118 break; 118 break;
119 default: 119 default:
120 clockwise ? tap_code(KC_VOLD) : tap_code(KC_VOLU); 120 clockwise ? tap_code(KC_VOLU) : tap_code(KC_VOLD);
121 break; 121 break;
122 } 122 }
123 return false; 123 return false;
diff --git a/users/drashna/config.h b/users/drashna/config.h
index f54da9e32..a7c99ed0d 100644
--- a/users/drashna/config.h
+++ b/users/drashna/config.h
@@ -148,16 +148,32 @@
148// # define OLED_FONT_AZTECH 148// # define OLED_FONT_AZTECH
149// # define OLED_FONT_BMPLAIN 149// # define OLED_FONT_BMPLAIN
150// # define OLED_FONT_CRACKERS 150// # define OLED_FONT_CRACKERS
151// # define OLED_FONT_HISKYF21
152# define OLED_FONT_DEAD_MEAL 151# define OLED_FONT_DEAD_MEAL
152// # define OLED_FONT_EIN
153// # define OLED_FONT_HISKYF21
154// # define OLED_FONT_SQUASH
155// # define OLED_FONT_ZXPIX
153// # define OLED_FONT_SUPER_DIGG 156// # define OLED_FONT_SUPER_DIGG
154// # define OLED_LOGO_GMK_BAD 157
155// # define OLED_LOGO_HUE_MANITEE 158// # define OLED_LOGO_BEBOP
156// # define OLED_LOGO_CORNE 159// # define OLED_LOGO_CORNE
160// # define OLED_LOGO_GMK_BAD
157// # define OLED_LOGO_GOTHAM 161// # define OLED_LOGO_GOTHAM
162// # define OLED_LOGO_HUE_MANITEE
163// # define OLED_LOGO_LOOSE
158# define OLED_LOGO_SCIFI 164# define OLED_LOGO_SCIFI
165// # define OLED_LOGO_SETS3N
166// # define OLED_LOGO_SKEEB
159#endif 167#endif
160 168
169// #define WPM_ESTIMATED_WORD_SIZE 5
170#define WPM_ALLOW_COUNT_REGRESSION
171// #define WPM_UNFILTERED
172// #define WPM_SAMPLE_SECONDS 5
173// #define WPM_SAMPLE_PERIODS 50
174// #define WPM_LAUNCH_CONTROL
175
176
161#ifndef ONESHOT_TAP_TOGGLE 177#ifndef ONESHOT_TAP_TOGGLE
162# define ONESHOT_TAP_TOGGLE 2 178# define ONESHOT_TAP_TOGGLE 2
163#endif // !ONESHOT_TAP_TOGGLE 179#endif // !ONESHOT_TAP_TOGGLE
diff --git a/users/drashna/drashna.h b/users/drashna/drashna.h
index af26fdc43..6a45141d9 100644
--- a/users/drashna/drashna.h
+++ b/users/drashna/drashna.h
@@ -50,6 +50,7 @@ enum userspace_layers {
50 LAST_DEFAULT_LAYER = _DVORAK, 50 LAST_DEFAULT_LAYER = _DVORAK,
51 _GAMEPAD, 51 _GAMEPAD,
52 _DIABLO, 52 _DIABLO,
53 _DIABLOII,
53 _MOUSE, 54 _MOUSE,
54 _MEDIA, 55 _MEDIA,
55 _LOWER, 56 _LOWER,
diff --git a/users/drashna/oled_stuff.c b/users/drashna/oled_stuff.c
index 4b5491950..6413f5e1c 100644
--- a/users/drashna/oled_stuff.c
+++ b/users/drashna/oled_stuff.c
@@ -36,8 +36,8 @@ static const char PROGMEM code_to_name[256] = {
36 ' ', ' ', ' ', ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', // 0x 36 ' ', ' ', ' ', ' ', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', // 0x
37 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', // 1x 37 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', // 1x
38 '3', '4', '5', '6', '7', '8', '9', '0', 20, 19, 27, 26, 22, '-', '=', '[', // 2x 38 '3', '4', '5', '6', '7', '8', '9', '0', 20, 19, 27, 26, 22, '-', '=', '[', // 2x
39 ']','\\', '#', ';','\'', '`', ',', '.', '/', 128, '1', '2', '3', '4', '5', '6', // 3x 39 ']','\\', '#', ';','\'', '`', ',', '.', '/', 128,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA, // 3x
40 '7', '8', '9', '0', '1', '2', 'P', 'S', 19, ' ', 17, 30, 16, 16, 31, 26, // 4x 40 0xDB,0xDC,0xDD,0xDE,0XDF,0xFB,'P', 'S', 19, ' ', 17, 30, 16, 16, 31, 26, // 4x
41 27, 25, 24, 'N', '/', '*', '-', '+', 23, '1', '2', '3', '4', '5', '6', '7', // 5x 41 27, 25, 24, 'N', '/', '*', '-', '+', 23, '1', '2', '3', '4', '5', '6', '7', // 5x
42 '8', '9', '0', '.','\\', 'A', 0, '=', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 6x 42 '8', '9', '0', '.','\\', 'A', 0, '=', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 6x
43 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 7x 43 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // 7x
@@ -47,8 +47,8 @@ static const char PROGMEM code_to_name[256] = {
47 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Bx 47 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Bx
48 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Cx 48 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Cx
49 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Dx 49 ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', // Dx
50 'C', 'S', 'A', 'C', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 24, 26, 24, // Ex 50 'C', 'S', 'A', 'C', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 24, 26, 24, // Ex
51 25,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, 24, 25, 27, 26, ' ', ' ', ' ' // Fx 51 25,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D,0x9D, 24, 25, 27, 26, ' ', ' ', ' ' // Fx
52}; 52};
53// clang-format on 53// clang-format on
54 54
diff --git a/users/drashna/process_records.c b/users/drashna/process_records.c
index 1e7f7ca76..c16c70c05 100644
--- a/users/drashna/process_records.c
+++ b/users/drashna/process_records.c
@@ -199,6 +199,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *re
199 } 199 }
200 } 200 }
201 break; 201 break;
202#endif
202 case KEYLOCK: { 203 case KEYLOCK: {
203 static host_driver_t *host_driver = 0; 204 static host_driver_t *host_driver = 0;
204 205
@@ -215,7 +216,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *re
215 } 216 }
216 break; 217 break;
217 } 218 }
218#endif
219 } 219 }
220 return true; 220 return true;
221} 221}