83Plus:Software:usb8x/Asm Interface/Mouse

From WikiTI
Revision as of 18:51, 22 February 2010 by Sircmpwn (Talk | contribs)

Jump to: navigation, search

The usb8x mouse driver is compatible with any mouse conforming to the USB HID mouse standard. However, it is not compatible with devices that have a mouse connected to an internal hub (combination keyboard/mice, for example).


The mouse driver is initialized via MouseInit. This entry point initializes both the driver and the mouse hardware, so you may want to check to see if a device is connected via [[../IsDeviceConnected|IsDeviceConnected]] first.


After initializing the mouse, use MouseGetKey to get movement and button information. [[../../Sample_Code#Mouse_Demo_2|Sample code]] using the mouse driver is available.

Entry Points

MouseInit Initialize the mouse driver and hardware
MouseGetKey Get movement and button information