Home
Random
Watchlist
Settings
Log in
About CPCWiki - THE Amstrad CPC encyclopedia!
Disclaimers
Open main menu
Changes
Kempston Mouse
69 bytes added
,
17:26, 8 December 2012
/* Get mouse position on screen */
// get the relative mouse displacement since last call
deltaX = rawX - oldX;
deltaY =
rawY -
oldY
- rawY
;
// Kempston mouse Y-axis is inverted compared to screen coordinates!
// store raw mouse values
oldX = rawX;
← Older edit
Newer edit →
Phi2x
8,324
edits