Skip to content

Commit dce95dd

Browse files
Update keyboard.h
1 parent a8ecdd1 commit dce95dd

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

code/logic/fossil/io/keyboard.h

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,6 @@ typedef struct {
3232

3333
typedef void (*fossil_io_mouse_callback_t)(fossil_io_mouse_event_t event);
3434

35-
#define MAX_MOUSEBINDS 256
36-
37-
typedef struct {
38-
fossil_io_mouse_event_t event;
39-
fossil_io_mouse_callback_t callback;
40-
} fossil_io_mouse_binding_t;
41-
42-
typedef struct {
43-
fossil_io_mouse_binding_t bindings[MAX_MOUSEBINDS];
44-
size_t count;
45-
} fossil_io_mouse_manager_t;
46-
4735
typedef struct {
4836
int x; // X position of the touch
4937
int y; // Y position of the touch
@@ -56,18 +44,6 @@ typedef struct {
5644

5745
typedef void (*fossil_io_touch_callback_t)(fossil_io_touch_event_t event);
5846

59-
#define MAX_TOUCHBINDS 256
60-
61-
typedef struct {
62-
fossil_io_touch_event_t event;
63-
fossil_io_touch_callback_t callback;
64-
} fossil_io_touch_binding_t;
65-
66-
typedef struct {
67-
fossil_io_touch_binding_t bindings[MAX_TOUCHBINDS];
68-
size_t count;
69-
} fossil_io_touch_manager_t;
70-
7147
// Define a keyboard event structure
7248
typedef struct {
7349
int shift; // 1 if Shift is pressed, 0 otherwise

0 commit comments

Comments
 (0)