jsfw/hid.h
viandoxdev 05a3be76f8
dfgdk
2022-08-30 00:27:03 +02:00

20 lines
295 B
C

#ifndef HID_H
#define HID_H
#include<stdint.h>
#include<pthread.h>
#include "vec.h"
typedef uint64_t uniq_t;
typedef struct {
int event;
int hidraw;
uniq_t uniq;
} PhysicalDevice;
void * hid_thread();
void return_device(PhysicalDevice * dev);
PhysicalDevice get_device();
#endif