diff options
author | Drashna Jaelre <[email protected]> | 2021-10-15 22:30:23 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-15 22:30:23 -0700 |
commit | 9a0addc77e3e48b908b846fc78326d4a20c30bc9 (patch) | |
tree | 6174272f2946e0ac984a924d6f8b4af466baca7f /users/drashna/transport_sync.h | |
parent | a8422cca0324ce61247dd0d8320a3d11a433cecf (diff) | |
download | qmk_firmware-9a0addc77e3e48b908b846fc78326d4a20c30bc9.tar.gz qmk_firmware-9a0addc77e3e48b908b846fc78326d4a20c30bc9.zip |
[Keymap] Drashna Keymap Updates (#14842)
* Fix issues with user split transport code
* Improve OLED (More font stuff, improved keylogger, etc)
* Add `KEYLOCK` macro to disable USB, borrowed from command feature.
* Convert Kyria fully to proton C (no more AVR kyria)
* Add Work Louder Work Board keymap
Diffstat (limited to 'users/drashna/transport_sync.h')
-rw-r--r-- | users/drashna/transport_sync.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/users/drashna/transport_sync.h b/users/drashna/transport_sync.h index 062df2bacc..70b6ea522b 100644 --- a/users/drashna/transport_sync.h +++ b/users/drashna/transport_sync.h @@ -19,12 +19,16 @@ #include "drashna.h" -__attribute__((aligned(8))) typedef struct { - bool audio_enable; - bool audio_clicky_enable; - bool tap_toggling; - bool unicode_mode; - bool swap_hands; +typedef union { + uint32_t raw; + struct { + bool audio_enable :1; + bool audio_clicky_enable :1; + bool tap_toggling :1; + bool unicode_mode :1; + bool swap_hands :1; + bool host_driver_disabled :1; + }; } user_runtime_config_t; extern user_runtime_config_t user_state; |