implemented a joystick driver to minimize circuit in the main circuit