summaryrefslogtreecommitdiff
path: root/streamdeck.h
diff options
context:
space:
mode:
Diffstat (limited to 'streamdeck.h')
-rw-r--r--streamdeck.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/streamdeck.h b/streamdeck.h
index 150623b..34b1e0a 100644
--- a/streamdeck.h
+++ b/streamdeck.h
@@ -1,10 +1,13 @@
#include <assert.h>
-#include <string.h>
+// #include <string.h>
#include <stdbool.h>
#include <libusb-1.0/libusb.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <hidapi/hidapi.h>
+// #include <stdlib.h>
+// #include <stdio.h>
+// #include <hidapi/hidapi.h>
+
+#include "util.h"
+
#define IMAGE_REPORT_LENGTH 8191
typedef struct Image image;
@@ -13,6 +16,8 @@ typedef struct Screen screen;
typedef struct Streamdeck streamdeck;
typedef struct Handler handler;
-int connect();
+streamdeck* connect(handler* deck);
int close();
-handler* create_hid_handler();
+int reset(handler* deck);
+int resetkeystream(handler* deck);
+