Added variable freq control to joystick control python