Changes

Jump to: navigation, search

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;
8,324
edits