mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-28 13:57:49 +01:00
d
d
This commit is contained in:
1 parent
3d06f94e48
commit
57787bfc7f
59 files changed
+9967
-410
No files matched your search
@@ -3,6 +3,10 @@
|
||||
|
||||
#include "event.h"
|
||||
|
||||
#define BOB64_USB_INPUT_DEVICE_LIMIT 32u
|
||||
/* Kept as an alias for callers that track USB mouse button state. */
|
||||
#define BOB64_MOUSE_USB_DEVICE_LIMIT BOB64_USB_INPUT_DEVICE_LIMIT
|
||||
|
||||
typedef struct {
|
||||
u32 Width,Height;
|
||||
s32 X,Y;
|
||||
@@ -19,5 +23,10 @@ int bob64_mouse_irq_capture(u8 value);
|
||||
int bob64_mouse_irq_service(void);
|
||||
int bob64_mouse_irq_pop_event(BOB64_EVENT *event);
|
||||
void bob64_mouse_irq_set_active(int active);
|
||||
/* Apply a USB HID boot-mouse report to the shared pointer and wheel queue. */
|
||||
int bob64_mouse_usb_report(u8 buttons,s8 delta_x,s8 delta_y,s8 wheel);
|
||||
/* Per-device reports preserve button holds across multiple USB mice. */
|
||||
int bob64_mouse_usb_report_device(u32 device_index,u8 buttons,s8 delta_x,
|
||||
s8 delta_y,s8 wheel);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user