mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-28 21:57:50 +01:00
e
This commit is contained in:
1 parent
78dd619293
commit
6dc841f956
109 files changed
+18192
-1907
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#ifndef BOB64_MOUSE_H
|
||||
#define BOB64_MOUSE_H
|
||||
|
||||
#include "event.h"
|
||||
|
||||
typedef struct {
|
||||
u32 Width,Height;
|
||||
s32 X,Y;
|
||||
u8 Packet[4];
|
||||
u8 PacketLength,PacketSize,Buttons,DeviceId,Enabled;
|
||||
} BOB64_MOUSE_STATE;
|
||||
|
||||
int bob64_mouse_reset(BOB64_MOUSE_STATE *state,u32 width,u32 height);
|
||||
int bob64_mouse_decode(BOB64_MOUSE_STATE *state,u8 value,BOB64_EVENT *event);
|
||||
int bob64_mouse_init(u32 width,u32 height);
|
||||
int bob64_mouse_poll_event(BOB64_EVENT *event);
|
||||
int bob64_mouse_irq_queue_init(u32 width,u32 height);
|
||||
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);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user