summaryrefslogtreecommitdiffstats
path: root/users/drashna/transport_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/transport_sync.h')
-rw-r--r--users/drashna/transport_sync.h16
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;