1 #include <aros/symbolsets.h>
2 #include <hidd/mouse.h>
5 #include LC_LIBDEFS_FILE
7 static int init_mouse(LIBBASETYPEPTR LIBBASE
)
10 OOP_Object
*drv
= NULL
;
12 ms
= OOP_NewObject(NULL
, CLID_Hidd_Mouse
, NULL
);
14 drv
= HIDD_Mouse_AddHardwareDriver(ms
, LIBBASE
->msd
.mouseclass
, NULL
);
15 OOP_DisposeObject(ms
);
21 LIBBASE
->library
.lib_OpenCnt
= 1;
25 ADD2INITLIB(init_mouse
, 10);