Difference between revisions of "83Plus:Software:usb8x/Asm Interface/Mouse"

From WikiTI
Jump to: navigation, search
 
Line 2: Line 2:
  
  
The mouse driver is initialized via [[/MouseInit|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.
+
The mouse driver is initialized via [[83Plus:Software:usb8x/Asm_Interface/Mouse/MouseInit|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|MouseGetKey]] to get movement and button information.  [[../../Sample_Code#Mouse_Demo_2|Sample code]] using the mouse driver is available.
+
After initializing the mouse, use [[83Plus:Software:usb8x/Asm_Interface/Mouse/MouseGetKey|MouseGetKey]] to get movement and button information.  [[../../Sample_Code#Mouse_Demo_2|Sample code]] using the mouse driver is available.
 
== Entry Points ==
 
== Entry Points ==
 
{| border="1" cellpadding="2"  cellspacing="0"  
 
{| border="1" cellpadding="2"  cellspacing="0"  
Line 11: Line 11:
 
| [[83Plus:Software:usb8x/Asm_Interface/Mouse/MouseInit|MouseInit]] || Initialize the mouse driver and hardware
 
| [[83Plus:Software:usb8x/Asm_Interface/Mouse/MouseInit|MouseInit]] || Initialize the mouse driver and hardware
 
|-
 
|-
| [[/MouseGetKey|MouseGetKey]] || Get movement and button information
+
| [[83Plus:Software:usb8x/Asm_Interface/Mouse/MouseGetKey|MouseGetKey]] || Get movement and button information
 
|}
 
|}

Latest revision as of 18:52, 22 February 2010

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