Joysticks/Gamepads

configname: CONFIG_INPUT_JOYSTICK

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Joysticks/Gamepads
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
If you have a joystick, 6dof controller, gamepad, steering wheel,
weapon control system or something like that you can say Y here
and the list of supported devices will be displayed. This option
doesn't affect the kernel.

Please read the file Documentation/input/joydev/joystick.rst which
contains more information.

depends
CONFIG_INPUT
NOT CONFIG_UML

is selected by
CONFIG_JOYSTICK_SENSEHAT