mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 10:44:59 +06:00
2b30776dd0
* Add issmirnov {user, ergodox, levinson} files. There are enough interesting QMK tricks in these layouts that it seems worth it to share with the broader community. Big thanks to Drashna for inspiration, as well as all the wonderful creators of QMK documentation. Some highlights: - Common layout shared between levinson and ergodox_ez - TAP_TOG macro for fast layer switching - Autogenerated keymaps ascii art with git hooks I will do my best to do periodic rolls here, but the source of truth will always be https://github.com/issmirnov/qmk-keebs * Incorporate review feedback. - Remove CLEAR_EEPROM in favor of built in EEP_RST - Remove custom handlers for audio on bootup and shutdown - Remove plethora of unneeded includes - Remove deprecated and dupliated config options HUGE thanks to drashna for the review! * Apply suggestions from code review Huge thanks to drashna@ for a very thorough review and the very useful suggestions. Co-Authored-By: Drashna Jaelre <drashna@live.com> * Remove unclear optimization This was an artifact from some other keymap I saw.
46 lines
1.2 KiB
C
46 lines
1.2 KiB
C
#pragma once
|
|
|
|
// Allows sending more than one key per scan. Useful for chords.
|
|
#define QMK_KEYS_PER_SCAN 4
|
|
|
|
// how long before a tap becomes a hold
|
|
#undef TAPPING_TERM
|
|
#define TAPPING_TERM 100
|
|
|
|
// makes tap and hold keys work better for fast typers who don't want
|
|
// tapping term set above 500
|
|
#define PERMISSIVE_HOLD
|
|
|
|
// tap anyway, even after TAPPING_TERM, if there was no other key
|
|
// interruption between press and release
|
|
#define RETRO_TAPPING
|
|
|
|
// how many taps before triggering the toggle
|
|
#undef ONESHOT_TAP_TOGGLE
|
|
#define ONESHOT_TAP_TOGGLE 2
|
|
|
|
// how long before oneshot modifier key times out (currently only shift)
|
|
#undef ONESHOT_TIMEOUT
|
|
#define ONESHOT_TIMEOUT 2000
|
|
|
|
// Enable combos for vim
|
|
#define COMBO_COUNT 5 // Specify the number of combos used. BE SURE TO INCREMENT AS NEEDED
|
|
#define COMBO_TERM 50 // window in milliseconds to trigger combo
|
|
|
|
// Allow more than 4 keys to be sent to the system. Useful for gaming.
|
|
// #define FORCE_NKRO
|
|
|
|
// Save 200 bytes on unused keycodes
|
|
#undef LOCKING_SUPPORT_ENABLE
|
|
#undef LOCKING_RESYNC_ENABLE
|
|
|
|
// Enable HID_listen commands.
|
|
#define NO_DEBUG
|
|
#undef NO_PRINT
|
|
#define USER_PRINT
|
|
|
|
// Note: Defining the following does not have any impact on space:
|
|
// - NO_ACTION_MACRO
|
|
// - NO_ACTION_FUNCTION
|
|
// - DISABLE_LEADER
|