diff options
Diffstat (limited to 'quantum/process_keycode/process_auto_shift.h')
-rw-r--r-- | quantum/process_keycode/process_auto_shift.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/quantum/process_keycode/process_auto_shift.h b/quantum/process_keycode/process_auto_shift.h index 083325d8e..e86c4658e 100644 --- a/quantum/process_keycode/process_auto_shift.h +++ b/quantum/process_keycode/process_auto_shift.h | |||
@@ -14,8 +14,7 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef PROCESS_AUTO_SHIFT_H | 17 | #pragma once |
18 | #define PROCESS_AUTO_SHIFT_H | ||
19 | 18 | ||
20 | #include "quantum.h" | 19 | #include "quantum.h" |
21 | 20 | ||
@@ -25,9 +24,9 @@ | |||
25 | 24 | ||
26 | bool process_auto_shift(uint16_t keycode, keyrecord_t *record); | 25 | bool process_auto_shift(uint16_t keycode, keyrecord_t *record); |
27 | 26 | ||
28 | void autoshift_enable(void); | 27 | void autoshift_enable(void); |
29 | void autoshift_disable(void); | 28 | void autoshift_disable(void); |
30 | void autoshift_toggle(void); | 29 | void autoshift_toggle(void); |
31 | bool autoshift_state(void); | 30 | bool get_autoshift_state(void); |
32 | 31 | uint16_t get_autoshift_timeout(void); | |
33 | #endif | 32 | void set_autoshift_timeout(uint16_t timeout); |