summaryrefslogtreecommitdiff
path: root/streamdeck.h
blob: 34b1e0ac5d005556899a704b7f722de26d52a4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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>

#include "util.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;

streamdeck* connect(handler* deck);
int close();
int reset(handler* deck);
int resetkeystream(handler* deck);