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