commit
8fc62cb098
@ -0,0 +1,8 @@ |
|||||||
|
// Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
#define CIRQUE_PINNACLE_TAP_ENABLE |
||||||
|
#define POINTING_DEVICE_GESTURES_CURSOR_GLIDE_ENABLE |
||||||
|
#define POINTING_DEVICE_GESTURES_SCROLL_ENABLE |
@ -0,0 +1,160 @@ |
|||||||
|
/**
|
||||||
|
* Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly) |
||||||
|
* |
||||||
|
* 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/>.
|
||||||
|
*/ |
||||||
|
|
||||||
|
#include "drashna.h" |
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
#define LAYOUT_split_3x5_2_wrapper(...) LAYOUT_split_3x5_2(__VA_ARGS__) |
||||||
|
#define LAYOUT_split_3x5_2_base( \ |
||||||
|
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||||
|
K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
|
||||||
|
K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
|
||||||
|
) \
|
||||||
|
LAYOUT_split_3x5_2 ( \
|
||||||
|
K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
|
||||||
|
ALT_T(K11), K12, K13, K14, GUI_T(K15), LGUI_T(K16), K17, K18, K19, LALT_T(K1A), \
|
||||||
|
CTL_T(K21), K22, K23, K24, K25, K26, K27, K28, K29, RCTL_T(K2A), \
|
||||||
|
KC_SPC, BK_LWER, DL_RAIS, RSFT_T(KC_ENT) \
|
||||||
|
) |
||||||
|
|
||||||
|
#define LAYOUT_split_3x5_2_base_wrapper(...) LAYOUT_split_3x5_2_base(__VA_ARGS__) |
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
||||||
|
|
||||||
|
[_DEFAULT_LAYER_1] = LAYOUT_split_3x5_2_base_wrapper( |
||||||
|
_________________QWERTY_L1_________________, _________________QWERTY_R1_________________, |
||||||
|
_________________QWERTY_L2_________________, _________________QWERTY_R2_________________, |
||||||
|
_________________QWERTY_L3_________________, _________________QWERTY_R3_________________ |
||||||
|
), |
||||||
|
|
||||||
|
[_DEFAULT_LAYER_2] = LAYOUT_split_3x5_2_base_wrapper( |
||||||
|
______________COLEMAK_MOD_DH_L1____________, ______________COLEMAK_MOD_DH_R1____________, |
||||||
|
______________COLEMAK_MOD_DH_L2____________, ______________COLEMAK_MOD_DH_R2____________, |
||||||
|
______________COLEMAK_MOD_DH_L3____________, ______________COLEMAK_MOD_DH_R3____________ |
||||||
|
), |
||||||
|
[_DEFAULT_LAYER_3] = LAYOUT_split_3x5_2_base_wrapper( |
||||||
|
_________________COLEMAK_L1________________, _________________COLEMAK_R1________________, |
||||||
|
_________________COLEMAK_L2________________, _________________COLEMAK_R2________________, |
||||||
|
_________________COLEMAK_L3________________, _________________COLEMAK_R3________________ |
||||||
|
), |
||||||
|
|
||||||
|
[_DEFAULT_LAYER_4] = LAYOUT_split_3x5_2_base_wrapper( |
||||||
|
_________________DVORAK_L1_________________, _________________DVORAK_R1_________________, |
||||||
|
_________________DVORAK_L2_________________, _________________DVORAK_R2_________________, |
||||||
|
_________________DVORAK_L3_________________, _________________DVORAK_R3_________________ |
||||||
|
), |
||||||
|
|
||||||
|
[_MOUSE] = LAYOUT_split_3x5_2( |
||||||
|
_______, _______, _______, _______, _______, KC_WH_U, DPI_RMOD,DPI_MOD, S_D_RMOD,S_D_MOD, |
||||||
|
_______, _______, _______, _______, _______, KC_WH_D, KC_BTN1, KC_BTN3, KC_BTN2, KC_BTN6, |
||||||
|
_______, _______, _______, _______, _______, KC_BTN7, KC_BTN4, KC_BTN5, KC_BTN8, _______, |
||||||
|
SNIPING, _______, _______, _______ |
||||||
|
), |
||||||
|
[_LOWER] = LAYOUT_split_3x5_2_wrapper( |
||||||
|
_________________LOWER_L1__________________, _________________LOWER_R1__________________, |
||||||
|
_________________LOWER_L2__________________, _________________LOWER_R2__________________, |
||||||
|
_________________LOWER_L3__________________, _________________LOWER_R3__________________, |
||||||
|
_______, _______, _______, AUTO_CTN |
||||||
|
), |
||||||
|
[_RAISE] = LAYOUT_split_3x5_2_wrapper( |
||||||
|
_________________RAISE_L1__________________, _________________RAISE_R1__________________, |
||||||
|
_________________RAISE_L2__________________, _________________RAISE_R2__________________, |
||||||
|
_________________RAISE_L3__________________, _________________RAISE_R3__________________, |
||||||
|
_______, _______, _______, _______ |
||||||
|
), |
||||||
|
[_ADJUST] = LAYOUT_split_3x5_2_wrapper( |
||||||
|
_________________ADJUST_L1_________________, _________________ADJUST_R1_________________, |
||||||
|
_________________ADJUST_L2_________________, _________________ADJUST_R2_________________, |
||||||
|
_________________ADJUST_L3_________________, _________________ADJUST_R3_________________, |
||||||
|
KC_NUKE, _______, _______, QK_BOOT |
||||||
|
), |
||||||
|
}; |
||||||
|
|
||||||
|
|
||||||
|
void matrix_output_unselect_delay(uint8_t line, bool key_pressed) { |
||||||
|
for (int32_t i = 0; i < 40; i++) { |
||||||
|
__asm__ volatile("nop" ::: "memory"); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
#if defined(OLED_ENABLE) && defined(OLED_DISPLAY_128X128) |
||||||
|
# ifdef UNICODE_COMMON_ENABLE |
||||||
|
# include "process_unicode_common.h" |
||||||
|
# include "keyrecords/unicode.h" |
||||||
|
# endif |
||||||
|
|
||||||
|
extern const char PROGMEM display_border[3]; |
||||||
|
|
||||||
|
|
||||||
|
extern uint32_t oled_timer; |
||||||
|
extern bool is_oled_enabled; |
||||||
|
|
||||||
|
|
||||||
|
bool oled_task_keymap(void) { |
||||||
|
static const char PROGMEM header_image[] = { |
||||||
|
0, 192, 32, 16, 8, 4, 2, 1, 1, 1, 1, 1, 1, 1, 1, 3, 7, 15, 31, 63, 127, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 127, 63, 31, 15, 7, 3, 1, 1, 1, 1, 1, 1, 1, 1, 2, 4, 8, 16, 32, 192, 0, |
||||||
|
// 0,255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 7, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,255, 0
|
||||||
|
}; |
||||||
|
oled_write_raw_P(header_image, sizeof(header_image)); |
||||||
|
oled_set_cursor(7, 0); |
||||||
|
oled_write_P(PSTR("Rock On"), true); |
||||||
|
|
||||||
|
render_default_layer_state(1, 1); |
||||||
|
render_layer_state(1, 2); |
||||||
|
render_kitty(0, 5); |
||||||
|
render_wpm(1, 7, 5); |
||||||
|
# if defined(POINTING_DEVICE_ENABLE) |
||||||
|
render_pointing_dpi_status(dilemma_get_pointer_sniping_enabled() ? dilemma_get_pointer_sniping_dpi() : dilemma_get_pointer_default_dpi(), 1, 7, 6); |
||||||
|
render_mouse_mode(17, 6); |
||||||
|
# elif defined(WPM_ENABLE) && defined(DEBUG_MATRIX_SCAN_RATE) |
||||||
|
render_matrix_scan_rate(1, 7, 6); |
||||||
|
# endif |
||||||
|
render_bootmagic_status(7, 7); |
||||||
|
render_user_status(1, 9); |
||||||
|
|
||||||
|
render_mod_status(get_mods() | get_oneshot_mods(), 1, 10); |
||||||
|
render_keylock_status(host_keyboard_led_state(), 1, 11); |
||||||
|
render_unicode_mode(1, 12); |
||||||
|
|
||||||
|
// render_rgb_hsv(1, 13);
|
||||||
|
oled_set_cursor(1, 13); |
||||||
|
// oled_write_P(PSTR("Timer:"), false);
|
||||||
|
// oled_write(get_u8_str((uint8_t)(timer_elapsed32(oled_timer) / 1000), ' '), false);
|
||||||
|
oled_write_P(PSTR("Status: "), false); |
||||||
|
if (is_oled_enabled) { |
||||||
|
oled_write_P(PSTR("on "), false); |
||||||
|
} else { |
||||||
|
oled_write_P(PSTR("off"), false); |
||||||
|
} |
||||||
|
|
||||||
|
render_keylogger_status(1, 14); |
||||||
|
|
||||||
|
for (uint8_t i = 1; i < 15; i++) { |
||||||
|
oled_set_cursor(0, i); |
||||||
|
oled_write_raw_P(display_border, sizeof(display_border)); |
||||||
|
oled_set_cursor(21, i); |
||||||
|
oled_write_raw_P(display_border, sizeof(display_border)); |
||||||
|
} |
||||||
|
|
||||||
|
static const char PROGMEM footer_image[] = {0, 3, 4, 8, 16, 32, 64, 128, 128, 128, 128, 128, 128, 128, 192, 224, 240, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 240, 224, 192, 128, 128, 128, 128, 128, 128, 128, 64, 32, 16, 8, 4, 3, 0}; |
||||||
|
oled_set_cursor(0, 15); |
||||||
|
oled_write_raw_P(footer_image, sizeof(footer_image)); |
||||||
|
|
||||||
|
return false; |
||||||
|
} |
||||||
|
#endif |
@ -0,0 +1,8 @@ |
|||||||
|
SWAP_HANDS_ENABLE = no
|
||||||
|
AUTOCORRECTION_ENABLE = yes
|
||||||
|
CAPS_WORD_ENABLE = yes
|
||||||
|
CONSOLE_ENABLE = yes
|
||||||
|
KEYLOGGER_ENABLE = no
|
||||||
|
WPM_ENABLE = yes
|
||||||
|
OLED_ENABLE = yes
|
||||||
|
OLED_DRIVER = custom
|
@ -1,5 +1,6 @@ |
|||||||
USER_NAME := not_drashna
|
USER_NAME := not_drashna
|
||||||
|
BOOTLOADER = qmk-hid
|
||||||
|
|
||||||
RGBLIGHT_ENABLE = yes
|
RGBLIGHT_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = no
|
||||||
LTO_ENABLE = yes
|
LTO_ENABLE = yes
|
||||||
|
@ -1,5 +1,93 @@ |
|||||||
#if __has_include("../qmk_secrets/autocorrection_data.h") |
#if __has_include("../qmk_secrets/autocorrection_data.h") |
||||||
|
# pragma message "Loading custom library" |
||||||
# include "../qmk_secrets/autocorrection_data.h" |
# include "../qmk_secrets/autocorrection_data.h" |
||||||
|
# define AUTOCORRECTION_MIN_LENGTH AUTOCORRECT_MIN_LENGTH |
||||||
|
# define AUTOCORRECTION_MAX_LENGTH AUTOCORRECT_MAX_LENGTH |
||||||
|
|
||||||
#else |
#else |
||||||
# include "autocorrect_data_default.h" |
// Generated code.
|
||||||
|
|
||||||
|
// Autocorrection dictionary (70 entries):
|
||||||
|
// :guage -> gauge
|
||||||
|
// :the:the: -> the
|
||||||
|
// :thier -> their
|
||||||
|
// :ture -> true
|
||||||
|
// accomodate -> accommodate
|
||||||
|
// acommodate -> accommodate
|
||||||
|
// aparent -> apparent
|
||||||
|
// aparrent -> apparent
|
||||||
|
// apparant -> apparent
|
||||||
|
// apparrent -> apparent
|
||||||
|
// aquire -> acquire
|
||||||
|
// becuase -> because
|
||||||
|
// cauhgt -> caught
|
||||||
|
// cheif -> chief
|
||||||
|
// choosen -> chosen
|
||||||
|
// cieling -> ceiling
|
||||||
|
// collegue -> colleague
|
||||||
|
// concensus -> consensus
|
||||||
|
// contians -> contains
|
||||||
|
// cosnt -> const
|
||||||
|
// dervied -> derived
|
||||||
|
// fales -> false
|
||||||
|
// fasle -> false
|
||||||
|
// fitler -> filter
|
||||||
|
// flase -> false
|
||||||
|
// foward -> forward
|
||||||
|
// frequecy -> frequency
|
||||||
|
// gaurantee -> guarantee
|
||||||
|
// guaratee -> guarantee
|
||||||
|
// heigth -> height
|
||||||
|
// heirarchy -> hierarchy
|
||||||
|
// inclued -> include
|
||||||
|
// interator -> iterator
|
||||||
|
// intput -> input
|
||||||
|
// invliad -> invalid
|
||||||
|
// lenght -> length
|
||||||
|
// liasion -> liaison
|
||||||
|
// libary -> library
|
||||||
|
// listner -> listener
|
||||||
|
// looses: -> loses
|
||||||
|
// looup -> lookup
|
||||||
|
// manefist -> manifest
|
||||||
|
// namesapce -> namespace
|
||||||
|
// namespcae -> namespace
|
||||||
|
// occassion -> occasion
|
||||||
|
// occured -> occurred
|
||||||
|
// ouptut -> output
|
||||||
|
// ouput -> output
|
||||||
|
// overide -> override
|
||||||
|
// postion -> position
|
||||||
|
// priviledge -> privilege
|
||||||
|
// psuedo -> pseudo
|
||||||
|
// recieve -> receive
|
||||||
|
// refered -> referred
|
||||||
|
// relevent -> relevant
|
||||||
|
// repitition -> repetition
|
||||||
|
// retrun -> return
|
||||||
|
// retun -> return
|
||||||
|
// reuslt -> result
|
||||||
|
// reutrn -> return
|
||||||
|
// saftey -> safety
|
||||||
|
// seperate -> separate
|
||||||
|
// singed -> signed
|
||||||
|
// stirng -> string
|
||||||
|
// strign -> string
|
||||||
|
// swithc -> switch
|
||||||
|
// swtich -> switch
|
||||||
|
// thresold -> threshold
|
||||||
|
// udpate -> update
|
||||||
|
// widht -> width
|
||||||
|
|
||||||
|
#define AUTOCORRECT_MIN_LENGTH 5 // ":ture"
|
||||||
|
#define AUTOCORRECT_MAX_LENGTH 10 // "accomodate"
|
||||||
|
|
||||||
|
#define DICTIONARY_SIZE 1104 |
||||||
|
|
||||||
|
static const uint8_t autocorrect_data[DICTIONARY_SIZE] PROGMEM = {108, 43, 0, 6, 71, 0, 7, 81, 0, 8, 199, 0, 9, 240, 1, 10, 250, 1, 11, 26, 2, 17, 53, 2, 18, 190, 2, 19, 202, 2, 21, 212, 2, 22, 20, 3, 23, 67, 3, 28, 16, 4, 0, 72, 50, 0, 22, 60, 0, 0, 11, 23, 44, 8, 11, 23, 44, 0, 132, 0, 8, 22, 18, 18, 15, 0, 132, 115, 101, 115, 0, 11, 23, 12, 26, 22, 0, 129, 99, 104, 0, 68, 94, 0, 8, 106, 0, 15, 174, 0, 21, 187, 0, 0, 12, 15, 25, 17, 12, 0, 131, 97, 108, 105, 100, 0, 74, 119, 0, 12, 129, 0, 21, 140, 0, 24, 165, 0, 0, 17, 12, 22, 0, 131, 103, 110, 101, 100, 0, 25, 21, 8, 7, 0, 131, 105, 118, 101, 100, 0, 72, 147, 0, 24, 156, 0, 0, 9, 8, 21, 0, 129, 114, 101, 100, 0, 6, 6, 18, 0, 129, 114, 101, 100, 0, 15, 6, 17, 12, 0, 129, 100, 101, 0, 18, 22, 8, 21, 11, 23, 0, 130, 104, 111, |
||||||
|
108, 100, 0, 4, 26, 18, 9, 0, 131, 114, 119, 97, 114, 100, 0, 68, 233, 0, 6, 246, 0, 7, 4, 1, 8, 16, 1, 10, 52, 1, 15, 81, 1, 21, 90, 1, 22, 117, 1, 23, 144, 1, 24, 215, 1, 25, 228, 1, 0, 6, 19, 22, 8, 16, 4, 17, 0, 130, 97, 99, 101, 0, 19, 4, 22, 8, 16, 4, 17, 0, 131, 112, 97, 99, 101, 0, 12, 21, 8, 25, 18, 0, 130, 114, 105, 100, 101, 0, 23, 0, 68, 25, 1, 17, 36, 1, 0, 21, 4, 24, 10, 0, 130, 110, 116, 101, 101, 0, 4, 21, 24, 4, 10, 0, 135, 117, 97, 114, 97, 110, 116, 101, 101, 0, 68, 59, 1, 7, 69, 1, 0, 24, 10, 44, 0, 131, 97, 117, 103, 101, 0, 8, 15, 12, 25, 12, 21, 19, 0, 130, 103, 101, 0, 22, 4, 9, 0, 130, 108, 115, 101, 0, 76, 97, 1, 24, 109, 1, 0, 24, 20, 4, 0, 132, 99, 113, 117, 105, 114, 101, 0, 23, 44, 0, |
||||||
|
130, 114, 117, 101, 0, 4, 0, 79, 126, 1, 24, 134, 1, 0, 9, 0, 131, 97, 108, 115, 101, 0, 6, 8, 5, 0, 131, 97, 117, 115, 101, 0, 4, 0, 71, 156, 1, 19, 193, 1, 21, 203, 1, 0, 18, 16, 0, 80, 166, 1, 18, 181, 1, 0, 18, 6, 4, 0, 135, 99, 111, 109, 109, 111, 100, 97, 116, 101, 0, 6, 6, 4, 0, 132, 109, 111, 100, 97, 116, 101, 0, 7, 24, 0, 132, 112, 100, 97, 116, 101, 0, 8, 19, 8, 22, 0, 132, 97, 114, 97, 116, 101, 0, 10, 8, 15, 15, 18, 6, 0, 130, 97, 103, 117, 101, 0, 8, 12, 6, 8, 21, 0, 131, 101, 105, 118, 101, 0, 12, 8, 11, 6, 0, 130, 105, 101, 102, 0, 17, 0, 76, 3, 2, 21, 16, 2, 0, 15, 8, 12, 6, 0, 133, 101, 105, 108, 105, 110, 103, 0, 12, 23, 22, 0, 131, 114, 105, 110, 103, 0, 70, 33, 2, 23, 44, 2, 0, 12, 23, 26, 22, 0, 131, 105, |
||||||
|
116, 99, 104, 0, 10, 12, 8, 11, 0, 129, 104, 116, 0, 72, 69, 2, 10, 80, 2, 18, 89, 2, 21, 156, 2, 24, 167, 2, 0, 22, 18, 18, 11, 6, 0, 131, 115, 101, 110, 0, 12, 21, 23, 22, 0, 129, 110, 103, 0, 12, 0, 86, 98, 2, 23, 124, 2, 0, 68, 105, 2, 22, 114, 2, 0, 12, 15, 0, 131, 105, 115, 111, 110, 0, 4, 6, 6, 18, 0, 131, 105, 111, 110, 0, 76, 131, 2, 22, 146, 2, 0, 23, 12, 19, 8, 21, 0, 134, 101, 116, 105, 116, 105, 111, 110, 0, 18, 19, 0, 131, 105, 116, 105, 111, 110, 0, 23, 24, 8, 21, 0, 131, 116, 117, 114, 110, 0, 85, 174, 2, 23, 183, 2, 0, 23, 8, 21, 0, 130, 117, 114, 110, 0, 8, 21, 0, 128, 114, 110, 0, 7, 8, 24, 22, 19, 0, 131, 101, 117, 100, 111, 0, 24, 18, 18, 15, 0, 129, 107, 117, 112, 0, 72, 219, 2, 18, 3, 3, 0, 76, 229, 2, 15, 238, |
||||||
|
2, 17, 248, 2, 0, 11, 23, 44, 0, 130, 101, 105, 114, 0, 23, 12, 9, 0, 131, 108, 116, 101, 114, 0, 23, 22, 12, 15, 0, 130, 101, 110, 101, 114, 0, 23, 4, 21, 8, 23, 17, 12, 0, 135, 116, 101, 114, 97, 116, 111, 114, 0, 72, 30, 3, 17, 38, 3, 24, 51, 3, 0, 15, 4, 9, 0, 129, 115, 101, 0, 4, 12, 23, 17, 18, 6, 0, 131, 97, 105, 110, 115, 0, 22, 17, 8, 6, 17, 18, 6, 0, 133, 115, 101, 110, 115, 117, 115, 0, 74, 86, 3, 11, 96, 3, 15, 118, 3, 17, 129, 3, 22, 218, 3, 24, 232, 3, 0, 11, 24, 4, 6, 0, 130, 103, 104, 116, 0, 71, 103, 3, 10, 110, 3, 0, 12, 26, 0, 129, 116, 104, 0, 17, 8, 15, 0, 129, 116, 104, 0, 22, 24, 8, 21, 0, 131, 115, 117, 108, 116, 0, 68, 139, 3, 8, 150, 3, 22, 210, 3, 0, 21, 4, 19, 19, 4, 0, 130, 101, 110, 116, 0, 85, 157, |
||||||
|
3, 25, 200, 3, 0, 68, 164, 3, 21, 175, 3, 0, 19, 4, 0, 132, 112, 97, 114, 101, 110, 116, 0, 4, 19, 0, 68, 185, 3, 19, 193, 3, 0, 133, 112, 97, 114, 101, 110, 116, 0, 4, 0, 131, 101, 110, 116, 0, 8, 15, 8, 21, 0, 130, 97, 110, 116, 0, 18, 6, 0, 130, 110, 115, 116, 0, 12, 9, 8, 17, 4, 16, 0, 132, 105, 102, 101, 115, 116, 0, 83, 239, 3, 23, 6, 4, 0, 87, 246, 3, 24, 254, 3, 0, 17, 12, 0, 131, 112, 117, 116, 0, 18, 0, 130, 116, 112, 117, 116, 0, 19, 24, 18, 0, 131, 116, 112, 117, 116, 0, 70, 29, 4, 8, 41, 4, 11, 51, 4, 21, 69, 4, 0, 8, 24, 20, 8, 21, 9, 0, 129, 110, 99, 121, 0, 23, 9, 4, 22, 0, 130, 101, 116, 121, 0, 6, 21, 4, 21, 12, 8, 11, 0, 135, 105, 101, 114, 97, 114, 99, 104, 121, 0, 4, 5, 12, 15, 0, 130, 114, 97, 114, 121, 0}; |
||||||
#endif |
#endif |
||||||
|
@ -0,0 +1 @@ |
|||||||
|
#include "autocorrect_data.h" |
@ -0,0 +1,63 @@ |
|||||||
|
// Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
#ifndef OLED_UPDATE_INTERVAL |
||||||
|
# ifdef OLED_DRIVER_SH1107 |
||||||
|
# define OLED_UPDATE_INTERVAL 75 |
||||||
|
# else |
||||||
|
# ifdef SPLIT_KEYBOARD |
||||||
|
# define OLED_UPDATE_INTERVAL 60 |
||||||
|
# else |
||||||
|
# define OLED_UPDATE_INTERVAL 15 |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
#endif |
||||||
|
#define OLED_DISABLE_TIMEOUT |
||||||
|
#ifdef OLED_FONT_H |
||||||
|
# undef OLED_FONT_H |
||||||
|
#endif |
||||||
|
#define OLED_FONT_H "oled/drashna_font.h" |
||||||
|
#define OLED_FONT_END 255 |
||||||
|
// # define OLED_FONT_5X5
|
||||||
|
// # define OLED_FONT_AZTECH
|
||||||
|
// # define OLED_FONT_BMPLAIN
|
||||||
|
// # define OLED_FONT_CRACKERS
|
||||||
|
#define OLED_FONT_DEAD_MEAL |
||||||
|
// # define OLED_FONT_EIN
|
||||||
|
// # define OLED_FONT_HISKYF21
|
||||||
|
// # define OLED_FONT_SQUASH
|
||||||
|
// # define OLED_FONT_ZXPIX
|
||||||
|
// # define OLED_FONT_SUPER_DIGG
|
||||||
|
|
||||||
|
// # define OLED_LOGO_BEBOP
|
||||||
|
// # define OLED_LOGO_CORNE
|
||||||
|
// # define OLED_LOGO_GMK_BAD
|
||||||
|
// # define OLED_LOGO_GOTHAM
|
||||||
|
// # define OLED_LOGO_HUE_MANITEE
|
||||||
|
// # define OLED_LOGO_LOOSE
|
||||||
|
#define OLED_LOGO_SCIFI |
||||||
|
// # define OLED_LOGO_SETS3N
|
||||||
|
// # define OLED_LOGO_SKEEB
|
||||||
|
|
||||||
|
#ifdef OLED_DRIVER_SH1107 |
||||||
|
# define OLED_DISPLAY_CUSTOM |
||||||
|
# define OLED_IC_SH1107 2 |
||||||
|
# define OLED_DISPLAY_128X128 |
||||||
|
# define OLED_DISPLAY_WIDTH 128 |
||||||
|
# define OLED_DISPLAY_HEIGHT 128 |
||||||
|
# define OLED_MATRIX_SIZE (OLED_DISPLAY_HEIGHT / 8 * OLED_DISPLAY_WIDTH) |
||||||
|
# define OLED_BLOCK_TYPE uint32_t |
||||||
|
# define OLED_SOURCE_MAP \ |
||||||
|
{ 0, 8, 16, 24, 32, 40, 48, 56 } |
||||||
|
# define OLED_TARGET_MAP \ |
||||||
|
{ 56, 48, 40, 32, 24, 16, 8, 0 } |
||||||
|
# define OLED_BLOCK_COUNT (sizeof(OLED_BLOCK_TYPE) * 8) |
||||||
|
# define OLED_BLOCK_SIZE (OLED_MATRIX_SIZE / OLED_BLOCK_COUNT) |
||||||
|
# define OLED_COM_PINS COM_PINS_ALT |
||||||
|
# define OLED_IC OLED_IC_SH1107 |
||||||
|
# ifndef OLED_BRIGHTNESS |
||||||
|
# define OLED_BRIGHTNESS 50 |
||||||
|
# endif |
||||||
|
#endif |
@ -0,0 +1,107 @@ |
|||||||
|
// Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses (will slow down matrix scan by a lot)
|
||||||
|
// # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (not recommened)
|
||||||
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS |
||||||
|
// # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
|
||||||
|
// # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||||
|
|
||||||
|
#undef ENABLE_RGB_MATRIX_ALPHAS_MODS |
||||||
|
#undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
||||||
|
#undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT |
||||||
|
#undef ENABLE_RGB_MATRIX_BREATHING |
||||||
|
#undef ENABLE_RGB_MATRIX_BAND_SAT |
||||||
|
#undef ENABLE_RGB_MATRIX_BAND_VAL |
||||||
|
#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
||||||
|
#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL |
||||||
|
#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
||||||
|
#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_ALL |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN |
||||||
|
#undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL |
||||||
|
#undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL |
||||||
|
#undef ENABLE_RGB_MATRIX_DUAL_BEACON |
||||||
|
#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON |
||||||
|
#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS |
||||||
|
#undef ENABLE_RGB_MATRIX_RAINDROPS |
||||||
|
#undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS |
||||||
|
#undef ENABLE_RGB_MATRIX_HUE_BREATHING |
||||||
|
#undef ENABLE_RGB_MATRIX_HUE_PENDULUM |
||||||
|
#undef ENABLE_RGB_MATRIX_HUE_WAVE |
||||||
|
#undef ENABLE_RGB_MATRIX_PIXEL_RAIN |
||||||
|
#undef ENABLE_RGB_MATRIX_PIXEL_FLOW |
||||||
|
#undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL |
||||||
|
// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
|
||||||
|
#undef ENABLE_RGB_MATRIX_TYPING_HEATMAP |
||||||
|
#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN |
||||||
|
// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
|
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS |
||||||
|
#undef ENABLE_RGB_MATRIX_SPLASH |
||||||
|
#undef ENABLE_RGB_MATRIX_MULTISPLASH |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_SPLASH |
||||||
|
#undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
||||||
|
|
||||||
|
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP |
||||||
|
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL |
||||||
|
#if !defined(SPLIT_KEYBOARD) && !defined(KEYBOARD_ergodox_ez) && !defined(KEYBOARD_moonlander) |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN |
||||||
|
#endif |
||||||
|
#if defined(__arm__) || defined(__AVR_AT90USB1286__) || defined(KEYBOARD_launchpad) |
||||||
|
// RGB Matrix Animation modes. Explicitly enabled
|
||||||
|
// For full list of effects, see:
|
||||||
|
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
|
||||||
|
# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN |
||||||
|
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT |
||||||
|
# define ENABLE_RGB_MATRIX_BREATHING |
||||||
|
# define ENABLE_RGB_MATRIX_BAND_SAT |
||||||
|
# define ENABLE_RGB_MATRIX_BAND_VAL |
||||||
|
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT |
||||||
|
# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL |
||||||
|
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT |
||||||
|
# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_ALL |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN |
||||||
|
# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL |
||||||
|
# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL |
||||||
|
# define ENABLE_RGB_MATRIX_DUAL_BEACON |
||||||
|
# define ENABLE_RGB_MATRIX_RAINBOW_BEACON |
||||||
|
# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS |
||||||
|
# define ENABLE_RGB_MATRIX_RAINDROPS |
||||||
|
# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS |
||||||
|
# define ENABLE_RGB_MATRIX_HUE_BREATHING |
||||||
|
# define ENABLE_RGB_MATRIX_HUE_PENDULUM |
||||||
|
# define ENABLE_RGB_MATRIX_HUE_WAVE |
||||||
|
# define ENABLE_RGB_MATRIX_PIXEL_RAIN |
||||||
|
# define ENABLE_RGB_MATRIX_PIXEL_FLOW |
||||||
|
# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL |
||||||
|
# define ENABLE_RGB_MATRIX_DIGITAL_RAIN |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS |
||||||
|
# define ENABLE_RGB_MATRIX_SPLASH |
||||||
|
# define ENABLE_RGB_MATRIX_MULTISPLASH |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_SPLASH |
||||||
|
# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH |
||||||
|
#endif // AVR
|
@ -0,0 +1,8 @@ |
|||||||
|
// Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
# define RGBLIGHT_SLEEP |
||||||
|
# define RGBLIGHT_EFFECT_TWINKLE_LIFE 250 |
||||||
|
# define RGBLIGHT_EFFECT_TWINKLE_PROBABILITY 1 / 24 |
@ -0,0 +1,21 @@ |
|||||||
|
// Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#pragma once |
||||||
|
|
||||||
|
// # define SPLIT_TRANSPORT_MIRROR
|
||||||
|
#define SPLIT_LAYER_STATE_ENABLE |
||||||
|
#define SPLIT_LED_STATE_ENABLE |
||||||
|
#define SPLIT_MODS_ENABLE |
||||||
|
#ifdef WPM_ENABLE |
||||||
|
# define SPLIT_WPM_ENABLE |
||||||
|
#endif |
||||||
|
#ifdef OLED_ENABLE |
||||||
|
# undef SPLIT_OLED_ENABLE |
||||||
|
#endif |
||||||
|
#if defined(__AVR__) && !defined(SELECT_SOFT_SERIAL_SPEED) |
||||||
|
# define SELECT_SOFT_SERIAL_SPEED 1 |
||||||
|
#endif |
||||||
|
#ifdef CUSTOM_SPLIT_TRANSPORT_SYNC |
||||||
|
# define SPLIT_TRANSACTION_IDS_USER RPC_ID_USER_STATE_SYNC, RPC_ID_USER_KEYMAP_SYNC, RPC_ID_USER_CONFIG_SYNC, RPC_ID_USER_WATCHDOG_SYNC, RPC_ID_USER_KEYLOG_STR |
||||||
|
#endif |
Loading…
Reference in new issue