unleashed-firmware/applications/external/totp/workers/common.h

12 lines
No EOL
356 B
C

#pragma once
#include <stdint.h>
#include "../types/token_info.h"
typedef bool (*TOTP_AUTOMATION_KEY_HANDLER)(uint16_t key);
void totp_type_code_worker_execute_automation(
TOTP_AUTOMATION_KEY_HANDLER key_press_fn,
TOTP_AUTOMATION_KEY_HANDLER key_release_fn,
const char* string,
uint8_t string_length,
TokenAutomationFeature features);