Changes

Jump to: navigation, search

Kempston Mouse

No change in size, 14:06, 10 August 2023
/* Get mouse position on screen */
elif virtualY > maxY: virtualY = maxY
# now we translate position from the virtual screen to the current CPC screen mode
mouseX = virtualX if graphicsMode == 2 else (virtualX >> 1 2 if graphicsMode == 1 0 else virtualX >> 21)
mouseY = virtualY >> 1 # virtualY/2
8,324
edits