mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-16 09:12:39 +03:00
f4cc9e5de7
if author want their plugin to be removed - create issue, thanks
22 lines
299 B
C++
22 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;
|
|
};
|