hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/input/joystick/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Joystick driver configuration
34 #
....@@ -17,7 +18,7 @@
1718 config JOYSTICK_ANALOG
1819 tristate "Classic PC analog joysticks and gamepads"
1920 select GAMEPORT
20
- ---help---
21
+ help
2122 Say Y here if you have a joystick that connects to the PC
2223 gameport. In addition to the usual PC analog joystick, this driver
2324 supports many extensions, including joysticks with throttle control,
....@@ -41,9 +42,20 @@
4142 To compile this driver as a module, choose M here: the
4243 module will be called a3d.
4344
45
+config JOYSTICK_ADC
46
+ tristate "Simple joystick connected over ADC"
47
+ depends on IIO
48
+ select IIO_BUFFER_CB
49
+ help
50
+ Say Y here if you have a simple joystick connected over ADC.
51
+
52
+ To compile this driver as a module, choose M here: the
53
+ module will be called adc-joystick.
54
+
4455 config JOYSTICK_ADI
4556 tristate "Logitech ADI digital joysticks and gamepads"
4657 select GAMEPORT
58
+ depends on ADI!=m # avoid module name conflict
4759 help
4860 Say Y here if you have a Logitech controller using the ADI
4961 protocol over the PC gameport.
....@@ -223,7 +235,7 @@
223235 tristate "Multisystem, NES, SNES, N64, PSX joysticks and gamepads"
224236 depends on PARPORT
225237 select INPUT_FF_MEMLESS
226
- ---help---
238
+ help
227239 Say Y here if you have a Nintendo Entertainment System gamepad,
228240 Super Nintendo Entertainment System gamepad, Nintendo 64 gamepad,
229241 Sony PlayStation gamepad or a Multisystem -- Atari, Amiga,
....@@ -296,13 +308,13 @@
296308 bool "X-Box gamepad rumble support"
297309 depends on JOYSTICK_XPAD && INPUT
298310 select INPUT_FF_MEMLESS
299
- ---help---
311
+ help
300312 Say Y here if you want to take advantage of xbox 360 rumble features.
301313
302314 config JOYSTICK_XPAD_LEDS
303315 bool "LED Support for Xbox360 controller 'BigX' LED"
304316 depends on JOYSTICK_XPAD && (LEDS_CLASS=y || LEDS_CLASS=JOYSTICK_XPAD)
305
- ---help---
317
+ help
306318 This option enables support for the LED which surrounds the Big X on
307319 XBox 360 controller.
308320
....@@ -333,7 +345,6 @@
333345 config JOYSTICK_PSXPAD_SPI
334346 tristate "PlayStation 1/2 joypads via SPI interface"
335347 depends on SPI
336
- select INPUT_POLLDEV
337348 help
338349 Say Y here if you wish to connect PlayStation 1/2 joypads
339350 via SPI interface.
....@@ -361,4 +372,14 @@
361372 To compile this driver as a module, choose M here: the
362373 module will be called pxrc.
363374
375
+config JOYSTICK_FSIA6B
376
+ tristate "FlySky FS-iA6B RC Receiver"
377
+ select SERIO
378
+ help
379
+ Say Y here if you use a FlySky FS-i6 RC remote control along with the
380
+ FS-iA6B RC receiver as a joystick input device.
381
+
382
+ To compile this driver as a module, choose M here: the
383
+ module will be called fsia6b.
384
+
364385 endif