stub out secure as its own feature

This commit is contained in:
zvecr 2022-04-11 00:43:18 +01:00
parent 2c068d08dd
commit 89fab427c4
14 changed files with 204 additions and 5 deletions

View file

@ -0,0 +1,18 @@
// Copyright 2022 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include "secure.h"
#include "process_secure.h"
bool process_secure(uint16_t keycode, keyrecord_t *record) {
if (secure_is_unlocking()) {
if (!record->event.pressed) {
secure_keypress_event(record->event.key.row, record->event.key.col);
}
// Normal keypresses should be disabled until the sequence is completed
return false;
}
return true;
}