in_MouseKempInit.asm
bitfixer_bitfixer/dg/z88dk/libsrc/input/spectrum/in_MouseKempInit.asm
; void in_MouseKempInit(void)
; 09.2005 aralbrec

; mainly for symmetry with AMX mouse functions

PUBLIC in_MouseKempInit

EXTERN INMouseKemp
EXTERN _in_KempcoordX, _in_KempcoordY

; just set initial coordinates to (0,0)
; uses : AF

.in_MouseKempInit

   call INMouseKemp          ; to zero out current delta
   
   xor a
   ld (_in_KempcoordX),a
   ld (_in_KempcoordY),a
   
   ret
