include the joystick pattern as an example