mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-29 13:30:33 +02:00
stub out secure as its own feature
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// Copyright 2022 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef enum {
|
||||
SECURE_LOCKED,
|
||||
SECURE_PENDING,
|
||||
SECURE_UNLOCKED,
|
||||
} secure_status_t;
|
||||
|
||||
secure_status_t secure_get_status(void);
|
||||
|
||||
bool secure_is_unlocking(void);
|
||||
|
||||
void secure_lock(void);
|
||||
|
||||
void secure_unlock(void);
|
||||
|
||||
void secure_request_unlock(void);
|
||||
|
||||
void secure_keypress_event(uint8_t row, uint8_t col);
|
||||
|
||||
void secure_task(void);
|
||||
Reference in New Issue
Block a user