mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 03:33:08 +00:00
f4cc9e5de7
if author want their plugin to be removed - create issue, thanks
21 lines
299 B
C++
21 lines
299 B
C++
#pragma once
|
|
#include "key_info.h"
|
|
#include "rfid_key.h"
|
|
#include "hid_reader.h"
|
|
|
|
class HIDWorker {
|
|
public:
|
|
HIDWorker();
|
|
~HIDWorker();
|
|
|
|
void start_read();
|
|
bool read();
|
|
bool detect();
|
|
bool any_read();
|
|
void stop_read();
|
|
|
|
RfidKey key;
|
|
|
|
private:
|
|
HIDReader reader;
|
|
};
|