diff options
Diffstat (limited to 'keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h')
| -rw-r--r-- | keyboards/thevankeyboards/minivan/keymaps/josjoha/unicode_macros.h | 44 |
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 | |||
| 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 | * 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 | ||
| 28 | static 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 | |||
| 31 | short duo_press_nsy_dra = 0; // This remembers how many of the duo-press keys are being pressed: _NSY / _DRA layers | ||
| 32 | short duo_press_acc_bon = 0; // This remembers how many of the duo-press keys are being pressed: _ACC / _BON layers | ||
| 33 | |||
| 34 | void deactivate_all_but (int layer); | ||
| 35 | void activate_this_layer (int layer); | ||
| 36 | void indicate_base (void); | ||
| 37 | void leds_show_off (void); | ||
| 38 | void speed_report (int speed); | ||
| 39 | void speed_led (int speed); | ||
| 40 | void indicate_fun_stay (void); | ||
| 41 | int write_number (long int input, short divide10); | ||
| 42 | void isolate_rgblight_set (void); | ||
| 43 | |||
| 44 | |||
