1 #include <exec/lists.h>
2 #include <exec/semaphores.h>
8 void (*callback
)(APTR data
, struct pHidd_Mouse_ExtEvent
*ev
);
15 struct MinList
*callbacks
;
19 #define vHidd_Mouse_Extended 0x8000 /* Private flag */
21 struct mouse_staticdata
23 OOP_AttrBase driverdataAB
;
24 OOP_AttrBase hiddMouseAB
;
25 OOP_AttrBase hwAttrBase
;
26 OOP_MethodID hwMethodBase
;
27 OOP_Class
*mouseClass
;
32 struct MinList callbacks
;
34 struct Library
*cs_SysBase
;
35 struct Library
*cs_OOPBase
;
36 struct Library
*cs_UtilityBase
;
41 struct Library LibNode
;
42 struct mouse_staticdata csd
;
45 #define CSD(cl) (&((struct mousebase *)cl->UserData)->csd)
50 #define HiddMouseAB (CSD(cl)->hiddMouseAB)
51 #define HWAttrBase (CSD(cl)->hwAttrBase)
52 #define HWBase (CSD(cl)->hwMethodBase)
54 /* Private interface of our private driverNode class */
55 #define IID_DriverData "hidd.mouse.driverdata"
57 #define aHidd_DriverData_ClassPtr (CSD(cl)->driverdataAB + 0)