Compare commits
2 commits
2f37fc3caa
...
3e74511c0a
Author | SHA1 | Date | |
---|---|---|---|
3e74511c0a | |||
463673f308 |
3 changed files with 0 additions and 46 deletions
|
@ -5,15 +5,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// we don't have any lock switches
|
|
||||||
#undef LOCKING_SUPPORT_ENABLE
|
|
||||||
#undef LOCKING_RESYNC_ENABLE
|
|
||||||
|
|
||||||
// deactivate more features
|
|
||||||
#define NO_ACTION_MACRO
|
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
#define NO_MUSIC_MODE
|
|
||||||
|
|
||||||
// enable NKRO by default
|
// enable NKRO by default
|
||||||
#define FORCE_NKRO
|
#define FORCE_NKRO
|
||||||
|
|
||||||
|
@ -35,9 +26,6 @@
|
||||||
#define SPLIT_MODS_ENABLE
|
#define SPLIT_MODS_ENABLE
|
||||||
#define SPLIT_OLED_ENABLE
|
#define SPLIT_OLED_ENABLE
|
||||||
|
|
||||||
// select hand configuration
|
|
||||||
#define SPLIT_USB_DETECT
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// underglow configuration
|
// underglow configuration
|
||||||
//
|
//
|
||||||
|
|
|
@ -96,17 +96,6 @@ char chordal_hold_handedness(keypos_t key)
|
||||||
return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R';
|
return (key.row < MATRIX_ROWS / 2) ? 'L' : 'R';
|
||||||
}
|
}
|
||||||
|
|
||||||
bool get_chordal_hold(uint16_t tap_hold_keycode, keyrecord_t* tap_hold_record,
|
|
||||||
uint16_t other_keycode, keyrecord_t* other_record) {
|
|
||||||
// Allow hold between any pair of mod-tap keys.
|
|
||||||
if (IS_QK_MOD_TAP(tap_hold_keycode) && IS_QK_MOD_TAP(other_keycode)) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Otherwise defer to the opposite hands rule.
|
|
||||||
return get_chordal_hold_default(tap_hold_record, other_record);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef CC_NO_LED
|
#ifndef CC_NO_LED
|
||||||
|
|
||||||
void keyboard_post_init_user(void) {
|
void keyboard_post_init_user(void) {
|
||||||
|
@ -158,14 +147,3 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Simplify unused magic config functions
|
|
||||||
#ifndef MAGIC_ENABLE
|
|
||||||
uint8_t mod_config(uint8_t mod) { return mod; }
|
|
||||||
uint16_t keycode_config(uint16_t keycode) { return keycode; }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Reduce marix scanning delay
|
|
||||||
#ifndef DIRECT_PINS
|
|
||||||
void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }
|
|
||||||
#endif
|
|
||||||
|
|
12
rules.mk
12
rules.mk
|
@ -1,20 +1,8 @@
|
||||||
# Enable N-Key Rollover
|
# Enable N-Key Rollover
|
||||||
NKRO_ENABLE = yes
|
NKRO_ENABLE = yes
|
||||||
|
|
||||||
# less features we don't use
|
|
||||||
COMMAND_ENABLE = no
|
|
||||||
CONSOLE_ENABLE = no
|
|
||||||
GRAVE_ESC_ENABLE = no
|
|
||||||
MAGIC_ENABLE = no
|
|
||||||
MOUSEKEY_ENABLE = no
|
|
||||||
MUSIC_ENABLE = no
|
|
||||||
SPACE_CADET_ENABLE = no
|
|
||||||
|
|
||||||
# add bongocat & luna for OLEDs
|
# add bongocat & luna for OLEDs
|
||||||
ifeq ($(strip $(OLED_ENABLE)), yes)
|
ifeq ($(strip $(OLED_ENABLE)), yes)
|
||||||
SRC += features/oled_bongocat.c
|
SRC += features/oled_bongocat.c
|
||||||
SRC += features/oled_luna.c
|
SRC += features/oled_luna.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# good optimizations
|
|
||||||
LTO_ENABLE = yes
|
|
||||||
|
|
Loading…
Reference in a new issue