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) |
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 0000000000..237e103bcd --- /dev/null +++ b/quantum/process_keycode/process_key_lock.h @@ -0,0 +1,24 @@ +/* Copyright 2017 Fredric Silberberg + * + * 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/>. + */ + +#ifndef PROCESS_KEY_LOCK_H +#define PROCESS_KEY_LOCK_H + +#include "quantum.h" + +bool process_key_lock(uint16_t keycode, keyrecord_t *record); + +#endif // PROCESS_KEY_LOCK_H |