mirror of
https://github.com/cc65/cc65.git
synced 2024-08-30 16:29:06 +00:00
Remove the port parameter to mouse_init
git-svn-id: svn://svn.cc65.org/cc65/trunk@903 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
fac003f477
commit
7856dae4b2
@ -81,22 +81,19 @@ struct mouse_info {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
unsigned char __fastcall__ mouse_init (unsigned char port,
|
unsigned char __fastcall__ mouse_init (unsigned char type);
|
||||||
unsigned char type);
|
|
||||||
/* Setup the mouse interrupt handler. The mouse routines will use a predefined
|
/* Setup the mouse interrupt handler. The mouse routines will use a predefined
|
||||||
* system resource for the mouse cursor:
|
* system resource for the mouse port and mouse cursor:
|
||||||
* C64: Sprite #0
|
* C64: Port #0, Sprite #0
|
||||||
* C128: Sprite #0
|
* C128: Port #0, Sprite #0
|
||||||
* GEOS: Sprite #0
|
* GEOS: System defined port, Sprite #0
|
||||||
* Atari: PM #0
|
* Atari: Port #0, PM #0
|
||||||
* However, the mouse routines will not initialize this cursor or set a
|
* However, the mouse routines will not initialize this cursor or set a
|
||||||
* specific shape - this is platform dependent and up to the user program.
|
* specific shape - this is platform dependent and up to the user program.
|
||||||
* The mouse cursor is moved if the mouse is moved (provided that the mouse
|
* The mouse cursor is moved if the mouse is moved (provided that the mouse
|
||||||
* cursor is visible), and switched on and off in the show and hide functions.
|
* cursor is visible), and switched on and off in the show and hide functions.
|
||||||
* The port parameter gives the joystick port used for the mouse and is only
|
|
||||||
* needed to read the mouse button state.
|
|
||||||
* The type parameter is needed on some systems to determine the type of
|
* The type parameter is needed on some systems to determine the type of
|
||||||
* the mouse connected to the given port.
|
* the mouse connected to the given port, on others it is ignored.
|
||||||
* After calling this function, the mouse is invisble, the cursor is placed
|
* After calling this function, the mouse is invisble, the cursor is placed
|
||||||
* at 0/0 (upper left corner), and the bounding box is reset to cover the
|
* at 0/0 (upper left corner), and the bounding box is reset to cover the
|
||||||
* whole screen. Call mouse_show once to make the mouse cursor visible.
|
* whole screen. Call mouse_show once to make the mouse cursor visible.
|
||||||
|
Loading…
Reference in New Issue
Block a user