Create a `Joystick` and `Gamepad` class to use them in a conventional and object-oriented way for the language.
Create a
JoystickandGamepadclass to use them in a conventional and object-oriented way for the language.