spaceball button handling, and button number guessing