2003-12-30 19:14:17 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 2003-12-30
|
|
|
|
;
|
|
|
|
; void __fastcall__ mouse_move (int x, int y);
|
|
|
|
; /* Set the mouse cursor to the given position. If a mouse cursor is defined
|
2014-06-30 09:10:35 +00:00
|
|
|
; ** and currently visible, the mouse cursor is also moved.
|
|
|
|
; ** NOTE: This function does not check if the given position is valid and
|
|
|
|
; ** inside the bounding box.
|
|
|
|
; */
|
2003-12-30 19:14:17 +00:00
|
|
|
;
|
|
|
|
|
2004-03-29 16:44:39 +00:00
|
|
|
.import incsp2
|
2022-04-17 14:06:22 +00:00
|
|
|
.import ptr1: zp
|
2003-12-30 19:14:17 +00:00
|
|
|
|
|
|
|
.include "mouse-kernel.inc"
|
|
|
|
|
|
|
|
.proc _mouse_move
|
|
|
|
|
2004-03-29 16:44:39 +00:00
|
|
|
jsr mouse_move ; Call the driver
|
|
|
|
jmp incsp2 ; Drop the parameter
|
2003-12-30 19:14:17 +00:00
|
|
|
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|