mouse looking is going ok...but for some reason the player starts with r[X] = 240...i dont know why.

setupevent has an atexit of cleanevent, which just nulls out the controls.