aboutsummaryrefslogtreecommitdiff
path: root/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h')
-rw-r--r--keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h b/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h
new file mode 100644
index 000000000..5969525ca
--- /dev/null
+++ b/keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h
@@ -0,0 +1,44 @@
1/*
2 * License (GPL):
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17 * Remainder: © 2019 by J.B. <joshb@xs4all.nl>
18 *
19 */
20
21#pragma once
22
23/* This file contains function declarations for functions used in
24 * unicode_macros.c
25 */
26
27#define PRESCRAMBLED_U "f" // This is the letter 'u' for Unicode input, as effective on GNU/Debian/Linux 10 set to Dvorak
28static uint16_t key_timer; // Used in _DDL to differentiate layer switching in half or full descramble mode.
29 // In 'full' mode it goes to _DDD and _DDA Unicode layers, in 'half' mode to _DRA and _ACC.
30
31short duo_press_nsy_dra = 0; // This remembers how many of the duo-press keys are being pressed: _NSY / _DRA layers
32short duo_press_acc_bon = 0; // This remembers how many of the duo-press keys are being pressed: _ACC / _BON layers
33
34void deactivate_all_but (int layer);
35void activate_this_layer (int layer);
36void indicate_base (void);
37void leds_show_off (void);
38void speed_report (int speed);
39void speed_led (int speed);
40void indicate_fun_stay (void);
41int write_number (long int input, short divide10);
42void isolate_rgblight_set (void);
43
44