forked from forks/qmk_firmware
5974d989fe
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV` * `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*` * `UC_MAC` -> `UNICODE_MODE_MACOS` * `UC_LNX` -> `UNICODE_MODE_LINUX` * `UC_WIN` -> `UNICODE_MODE_WINDOWS` * `UC_BSD` -> `UNICODE_MODE_BSD` * `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE` * `UC_EMACS` -> `UNICODE_MODE_EMACS` * `UC__COUNT` -> `UNICODE_MODE_COUNT` * `UC_M_MA` -> `UC_MAC` * `UC_M_LN` -> `UC_LINX` * `UC_M_WI` -> `UC_WIN` * `UC_M_BS` -> `UC_BSD` * `UC_M_WC` -> `UC_WINC` * `UC_M_EM` -> `UC_EMAC` * Docs * Update quantum/unicode/unicode.h
40 lines
1.4 KiB
C
40 lines
1.4 KiB
C
// Copyright 2022 Ulrich Spörlein (@uqs)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
# define RGBLIGHT_SLEEP
|
|
# define RGBLIGHT_LAYERS
|
|
# define RGBLIGHT_MAX_LAYERS 8 // default is 16
|
|
# define RGBLIGHT_DISABLE_KEYCODES // RGB_foo keys no longer work, saves 600 bytes
|
|
# define RGBLIGHT_DEFAULT_HUE 15
|
|
#endif
|
|
|
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 6 // default is 4 for VIA builds
|
|
|
|
#define TAPPING_TOGGLE 2 // number of taps for a toggle-on-tap
|
|
#define TAPPING_TERM 170 // ms to trigger tap
|
|
// https://precondition.github.io/home-row-mods
|
|
#define TAPPING_FORCE_HOLD // make tap-then-hold _not_ do key auto repeat
|
|
#define IGNORE_MOD_TAP_INTERRUPT
|
|
#define PERMISSIVE_HOLD // I don't think this works for me, hence I rolled my own implementation.
|
|
|
|
#define LEADER_TIMEOUT 400
|
|
#define LEADER_PER_KEY_TIMING
|
|
|
|
#define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX
|
|
|
|
// make KC_ACL0 et al work when held.
|
|
#define MK_COMBINED
|
|
#define MOUSEKEY_WHEEL_INTERVAL 40 // default is 50, lower means more scroll events, 40 works ok.
|
|
|
|
// From https://michael.stapelberg.ch/posts/2021-05-08-keyboard-input-latency-qmk-kinesis/
|
|
#define USB_POLLING_INTERVAL_MS 1
|
|
|
|
#ifdef KEYBOARD_preonic_rev3
|
|
// Some games seem to not register Esc otherwise when tapped, maybe try with this delay?
|
|
# define TAP_CODE_DELAY 30
|
|
#else
|
|
# define TAP_CODE_DELAY 10
|
|
#endif
|