hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
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,21 @@
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
49
+ select IIO_BUFFER_CB
50
+ help
51
+ Say Y here if you have a simple joystick connected over ADC.
52
+
53
+ To compile this driver as a module, choose M here: the
54
+ module will be called adc-joystick.
55
+
4456 config JOYSTICK_ADI
4557 tristate "Logitech ADI digital joysticks and gamepads"
4658 select GAMEPORT
59
+ depends on ADI!=m # avoid module name conflict
4760 help
4861 Say Y here if you have a Logitech controller using the ADI
4962 protocol over the PC gameport.
....@@ -223,7 +236,7 @@
223236 tristate "Multisystem, NES, SNES, N64, PSX joysticks and gamepads"
224237 depends on PARPORT
225238 select INPUT_FF_MEMLESS
226
- ---help---
239
+ help
227240 Say Y here if you have a Nintendo Entertainment System gamepad,
228241 Super Nintendo Entertainment System gamepad, Nintendo 64 gamepad,
229242 Sony PlayStation gamepad or a Multisystem -- Atari, Amiga,
....@@ -296,13 +309,13 @@
296309 bool "X-Box gamepad rumble support"
297310 depends on JOYSTICK_XPAD && INPUT
298311 select INPUT_FF_MEMLESS
299
- ---help---
312
+ help
300313 Say Y here if you want to take advantage of xbox 360 rumble features.
301314
302315 config JOYSTICK_XPAD_LEDS
303316 bool "LED Support for Xbox360 controller 'BigX' LED"
304317 depends on JOYSTICK_XPAD && (LEDS_CLASS=y || LEDS_CLASS=JOYSTICK_XPAD)
305
- ---help---
318
+ help
306319 This option enables support for the LED which surrounds the Big X on
307320 XBox 360 controller.
308321
....@@ -333,7 +346,6 @@
333346 config JOYSTICK_PSXPAD_SPI
334347 tristate "PlayStation 1/2 joypads via SPI interface"
335348 depends on SPI
336
- select INPUT_POLLDEV
337349 help
338350 Say Y here if you wish to connect PlayStation 1/2 joypads
339351 via SPI interface.
....@@ -361,4 +373,14 @@
361373 To compile this driver as a module, choose M here: the
362374 module will be called pxrc.
363375
376
+config JOYSTICK_FSIA6B
377
+ tristate "FlySky FS-iA6B RC Receiver"
378
+ select SERIO
379
+ help
380
+ Say Y here if you use a FlySky FS-i6 RC remote control along with the
381
+ FS-iA6B RC receiver as a joystick input device.
382
+
383
+ To compile this driver as a module, choose M here: the
384
+ module will be called fsia6b.
385
+
364386 endif