mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-11 20:58:15 +06:00
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
93 lines
2.7 KiB
C
93 lines
2.7 KiB
C
// Copyright 2022 Nimish Gåtam (@nimishgautam)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
// OS-specific stuff
|
|
//#define UNICODE_SELECTED_MODES UNICODE_MODE_MACOS
|
|
|
|
/* Select hand configuration */
|
|
//#define MASTER_LEFT
|
|
#define MASTER_RIGHT
|
|
// #define EE_HANDS
|
|
#define SPLIT_LAYER_STATE_ENABLE
|
|
#define SPLIT_MODS_ENABLE
|
|
|
|
|
|
// combo
|
|
#define COMBO_COUNT 7
|
|
#define EXTRA_SHORT_COMBOS
|
|
|
|
//Tapping values
|
|
//#define TAPPING_FORCE_HOLD
|
|
#define TAPPING_TERM 200
|
|
#define IGNORE_MOD_TAP_INTERRUPT
|
|
#define PERMISSIVE_HOLD_PER_KEY
|
|
|
|
|
|
// Try to save some memory
|
|
#define NO_ACTION_ONESHOT
|
|
#undef LOCKING_SUPPORT_ENABLE
|
|
#undef LOCKING_RESYNC_ENABLE
|
|
#define LAYER_STATE_8BIT //8 layers max
|
|
|
|
|
|
// which lighting effects to include (less saves memory)
|
|
#ifdef RGBLIGHT_ENABLE
|
|
#define RGBLIGHT_EFFECT_BREATHING
|
|
//#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
//#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
//#define RGBLIGHT_EFFECT_SNAKE
|
|
//#define RGBLIGHT_EFFECT_KNIGHT
|
|
//#define RGBLIGHT_EFFECT_CHRISTMAS
|
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
//#define RGBLIGHT_EFFECT_RGB_TEST
|
|
//#define RGBLIGHT_EFFECT_ALTERNATING
|
|
//#define RGBLIGHT_EFFECT_TWINKLE
|
|
#define RGBLIGHT_LIMIT_VAL 120
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
#define RGBLIGHT_VAL_STEP 17
|
|
|
|
#endif
|
|
|
|
// rgb matrix, cooler effects than lighting above
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
#define RGB_MATRIX_KEYPRESSES
|
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
|
|
#define RGB_MATRIX_HUE_STEP 8
|
|
#define RGB_MATRIX_SAT_STEP 8
|
|
#define RGB_MATRIX_VAL_STEP 8
|
|
#define RGB_MATRIX_SPD_STEP 10
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
|
#define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
|
|
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
|
|
|
|
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
|
|
|
|
// NOTE: the below effects are super cool but they go absolutely nuts if you manually set hsv colors (eg with layers)
|
|
|
|
//#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
|
|
//#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
|
//#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
|
|
#endif
|
|
|
|
//autoshift
|
|
/*
|
|
#define NO_AUTO_SHIFT_NUMERIC
|
|
#define NO_AUTO_SHIFT_SPECIAL
|
|
#define RETRO_SHIFT 400
|
|
#define AUTO_SHIFT_TIMEOUT 175
|
|
#define AUTO_SHIFT_ENABLED
|
|
#define AUTO_SHIFT_TIMEOUT_PER_KEY
|
|
*/
|
|
|
|
|
|
// oled font (for logo etc)
|
|
#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
|
|
|
|
// mouse keys go at a constant speed instead of accelerating
|
|
#define MK_3_SPEED
|
|
#define MK_MOMENTARY_ACCEL
|