forked from mirrors/qmk_userspace
[Keymap] Drashna update for post Q2 merge (#17241)
This commit is contained in:
parent
b554e4b612
commit
cda343acbe
59 changed files with 672 additions and 769 deletions
|
@ -11,6 +11,7 @@
|
|||
#ifdef UNICODE_COMMON_ENABLE
|
||||
# include "process_unicode_common.h"
|
||||
extern unicode_config_t unicode_config;
|
||||
# include "keyrecords/unicode.h"
|
||||
#endif
|
||||
#ifdef AUDIO_ENABLE
|
||||
# include "audio.h"
|
||||
|
@ -97,6 +98,7 @@ void user_transport_update(void) {
|
|||
#endif
|
||||
#ifdef UNICODE_COMMON_ENABLE
|
||||
user_state.unicode_mode = unicode_config.input_mode;
|
||||
user_state.unicode_typing_mode = typing_mode;
|
||||
#endif
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
user_state.swap_hands = swap_hands;
|
||||
|
@ -110,6 +112,7 @@ void user_transport_update(void) {
|
|||
user_state.raw = transport_user_state;
|
||||
#ifdef UNICODE_COMMON_ENABLE
|
||||
unicode_config.input_mode = user_state.unicode_mode;
|
||||
typing_mode = user_state.unicode_typing_mode;
|
||||
#endif
|
||||
#if defined(CUSTOM_POINTING_DEVICE)
|
||||
tap_toggling = user_state.tap_toggling;
|
||||
|
|
|
@ -12,12 +12,13 @@ extern char keylog_str[OLED_KEYLOGGER_LENGTH];
|
|||
typedef union {
|
||||
uint32_t raw;
|
||||
struct {
|
||||
bool audio_enable :1;
|
||||
bool audio_clicky_enable :1;
|
||||
bool tap_toggling :1;
|
||||
uint8_t unicode_mode :3;
|
||||
bool swap_hands :1;
|
||||
bool host_driver_disabled :1;
|
||||
bool audio_enable :1;
|
||||
bool audio_clicky_enable :1;
|
||||
bool tap_toggling :1;
|
||||
uint8_t unicode_mode :3;
|
||||
bool swap_hands :1;
|
||||
bool host_driver_disabled :1;
|
||||
uint8_t unicode_typing_mode :3;
|
||||
};
|
||||
} user_runtime_config_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue