changed temp constants to work with wiimote