diff options
author | Fredric Silberberg <fred@silberberg.xyz> | 2017-08-06 01:50:20 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-08-08 10:02:53 -0400 |
commit | 8e1be7c792c4c9f65ba7e990f2a773a23b40d20c (patch) | |
tree | c82bdd82f0aa881e541f6b44fb73d3a54fdf886d /quantum/process_keycode/process_key_lock.h | |
parent | 7a9fb7c96b876cf0d6c44c4649d3504572e56fa3 (diff) | |
download | qmk_firmware-8e1be7c792c4c9f65ba7e990f2a773a23b40d20c.tar.gz qmk_firmware-8e1be7c792c4c9f65ba7e990f2a773a23b40d20c.zip |
Initial implementation of the key_lock feature.
Diffstat (limited to 'quantum/process_keycode/process_key_lock.h')
-rw-r--r-- | quantum/process_keycode/process_key_lock.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_key_lock.h b/quantum/process_keycode/process_key_lock.h new file mode 100644 index 000000000..237e103bc --- /dev/null +++ b/quantum/process_keycode/process_key_lock.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* Copyright 2017 Fredric Silberberg | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
17 | #ifndef PROCESS_KEY_LOCK_H | ||
18 | #define PROCESS_KEY_LOCK_H | ||
19 | |||
20 | #include "quantum.h" | ||
21 | |||
22 | bool process_key_lock(uint16_t keycode, keyrecord_t *record); | ||
23 | |||
24 | #endif // PROCESS_KEY_LOCK_H | ||