qmk_firmware/quantum/secure.h

28 lines
460 B
C
Raw Normal View History

2022-04-10 23:43:18 +00:00
// 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);