Difference between revisions of "83Plus:Software:usb8x/Asm Interface/Mouse/MouseInit"
From WikiTI
m (83Plus:Software:usb8x/Asm Interface/MouseInit moved to 83Plus:Software:usb8x/Asm Interface/Mouse/MouseInit) |
m (→Notes: clarifying initialization) |
||
Line 18: | Line 18: | ||
== Notes == | == Notes == | ||
− | Initializes the USB host but assumes the driver has already been initialized. MouseInit resets the callback address for use with the mouse, so the callback address passed to U_CALL_INIT will not be used. | + | Initializes the USB host but assumes the USB driver has already been initialized with [[../../DriverInit|DriverInit]]. MouseInit resets the callback address for use with the mouse, so the callback address passed to U_CALL_INIT will not be used. |
== See Also == | == See Also == | ||
* [[../MouseGetKey|MouseGetKey]] - Get mouse movement and button presses | * [[../MouseGetKey|MouseGetKey]] - Get mouse movement and button presses |
Revision as of 08:02, 27 August 2006
Synopsis
Name: MouseInit
Minimum usb8x version: 0.08
Initialize mouse driver
Inputs
- HL: Address of temporary descriptor buffer
- B: Flags
- bit 0: set = allow diagonal keys, reset = disallow
Outputs
- NC: Success
Destroys
- AF, BC, DE, HL
Notes
Initializes the USB host but assumes the USB driver has already been initialized with [[../../DriverInit|DriverInit]]. MouseInit resets the callback address for use with the mouse, so the callback address passed to U_CALL_INIT will not be used.
See Also
- [[../MouseGetKey|MouseGetKey]] - Get mouse movement and button presses