aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/split/transport_sync.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/split/transport_sync.h')
-rw-r--r--users/drashna/split/transport_sync.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/users/drashna/split/transport_sync.h b/users/drashna/split/transport_sync.h
new file mode 100644
index 000000000..70b6ea522
--- /dev/null
+++ b/users/drashna/split/transport_sync.h
@@ -0,0 +1,36 @@
1
2/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include "drashna.h"
21
22typedef union {
23 uint32_t raw;
24 struct {
25 bool audio_enable :1;
26 bool audio_clicky_enable :1;
27 bool tap_toggling :1;
28 bool unicode_mode :1;
29 bool swap_hands :1;
30 bool host_driver_disabled :1;
31 };
32} user_runtime_config_t;
33
34extern user_runtime_config_t user_state;
35
36void keyboard_post_init_transport_sync(void);