diff options
Diffstat (limited to 'streamdeck.h')
-rw-r--r-- | streamdeck.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/streamdeck.h b/streamdeck.h new file mode 100644 index 0000000..150623b --- /dev/null +++ b/streamdeck.h @@ -0,0 +1,18 @@ +#include <assert.h> +#include <string.h> +#include <stdbool.h> +#include <libusb-1.0/libusb.h> +#include <stdlib.h> +#include <stdio.h> +#include <hidapi/hidapi.h> +#define IMAGE_REPORT_LENGTH 8191 + +typedef struct Image image; +typedef struct Key key; +typedef struct Screen screen; +typedef struct Streamdeck streamdeck; +typedef struct Handler handler; + +int connect(); +int close(); +handler* create_hid_handler(); |