removed some old functions that aren't needed
added joystick functions
adding some mouse functions