Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246
Changes - CPCWiki

Changes

Kempston Mouse

66 bytes removed, 13:57, 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 if graphicsMode == 1 else virtualX >> 2)
mouseY = virtualY >> 1 # virtualY/2
if graphicsMode == 2: mouseX = virtualX
elif graphicsMode == 1: mouseX = virtualX >> 1 # virtualX/2
elif graphicsMode == 0: mouseX = virtualX >> 2 # virtualX/4
== Manual ==
13,173
edits