My local repo of qmk firmware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
qmk_firmware/quantum/secure.h

29 lines
495 B

// 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_activity_event(void);
void secure_keypress_event(uint8_t row, uint8_t col);
void secure_task(void);