Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Input device configuration
  4. #
  5. menu "Input device support"
  6. config INPUT
  7. tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
  8. default y
  9. help
  10. Say Y here if you have any input device (mouse, keyboard, tablet,
  11. joystick, steering wheel ...) connected to your system and want
  12. it to be available to applications. This includes standard PS/2
  13. keyboard and mouse.
  14. Say N here if you have a headless (no monitor, no keyboard) system.
  15. More information is available: <file:Documentation/input/input.rst>
  16. If unsure, say Y.
  17. To compile this driver as a module, choose M here: the
  18. module will be called input.
  19. if INPUT
  20. config INPUT_LEDS
  21. tristate "Export input device LEDs in sysfs"
  22. depends on LEDS_CLASS
  23. default INPUT
  24. help
  25. Say Y here if you would like to export LEDs on input devices
  26. as standard LED class devices in sysfs.
  27. If unsure, say Y.
  28. To compile this driver as a module, choose M here: the
  29. module will be called input-leds.
  30. config INPUT_FF_MEMLESS
  31. tristate "Support for memoryless force-feedback devices"
  32. help
  33. Say Y here if you have memoryless force-feedback input device
  34. such as Logitech WingMan Force 3D, ThrustMaster FireStorm Dual
  35. Power 2, or similar. You will also need to enable hardware-specific
  36. driver.
  37. If unsure, say N.
  38. To compile this driver as a module, choose M here: the
  39. module will be called ff-memless.
  40. config INPUT_SPARSEKMAP
  41. tristate "Sparse keymap support library"
  42. help
  43. Say Y here if you are using a driver for an input
  44. device that uses sparse keymap. This option is only
  45. useful for out-of-tree drivers since in-tree drivers
  46. select it automatically.
  47. If unsure, say N.
  48. To compile this driver as a module, choose M here: the
  49. module will be called sparse-keymap.
  50. config INPUT_MATRIXKMAP
  51. tristate "Matrix keymap support library"
  52. help
  53. Say Y here if you are using a driver for an input
  54. device that uses matrix keymap. This option is only
  55. useful for out-of-tree drivers since in-tree drivers
  56. select it automatically.
  57. If unsure, say N.
  58. To compile this driver as a module, choose M here: the
  59. module will be called matrix-keymap.
  60. config INPUT_VIVALDIFMAP
  61. tristate
  62. help
  63. ChromeOS Vivaldi keymap support library. This is a hidden
  64. option so that drivers can use common code to parse and
  65. expose the vivaldi function row keymap.
  66. comment "Userland interfaces"
  67. config INPUT_MOUSEDEV
  68. tristate "Mouse interface"
  69. help
  70. Say Y here if you want your mouse to be accessible as char devices
  71. 13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an
  72. emulated IntelliMouse Explorer PS/2 mouse. That way, all user space
  73. programs (including SVGAlib, GPM and X) will be able to use your
  74. mouse.
  75. If unsure, say Y.
  76. To compile this driver as a module, choose M here: the
  77. module will be called mousedev.
  78. config INPUT_MOUSEDEV_PSAUX
  79. bool "Provide legacy /dev/psaux device"
  80. depends on INPUT_MOUSEDEV
  81. help
  82. Say Y here if you want your mouse also be accessible as char device
  83. 10:1 - /dev/psaux. The data available through /dev/psaux is exactly
  84. the same as the data from /dev/input/mice.
  85. If unsure, say Y.
  86. config INPUT_MOUSEDEV_SCREEN_X
  87. int "Horizontal screen resolution"
  88. depends on INPUT_MOUSEDEV
  89. default "1024"
  90. help
  91. If you're using a digitizer, or a graphic tablet, and want to use
  92. it as a mouse then the mousedev driver needs to know the X window
  93. screen resolution you are using to correctly scale the data. If
  94. you're not using a digitizer, this value is ignored.
  95. config INPUT_MOUSEDEV_SCREEN_Y
  96. int "Vertical screen resolution"
  97. depends on INPUT_MOUSEDEV
  98. default "768"
  99. help
  100. If you're using a digitizer, or a graphic tablet, and want to use
  101. it as a mouse then the mousedev driver needs to know the X window
  102. screen resolution you are using to correctly scale the data. If
  103. you're not using a digitizer, this value is ignored.
  104. config INPUT_JOYDEV
  105. tristate "Joystick interface"
  106. help
  107. Say Y here if you want your joystick or gamepad to be
  108. accessible as char device 13:0+ - /dev/input/jsX device.
  109. If unsure, say Y.
  110. More information is available: <file:Documentation/input/joydev/joystick.rst>
  111. To compile this driver as a module, choose M here: the
  112. module will be called joydev.
  113. config INPUT_EVDEV
  114. tristate "Event interface"
  115. help
  116. Say Y here if you want your input device events be accessible
  117. under char device 13:64+ - /dev/input/eventX in a generic way.
  118. To compile this driver as a module, choose M here: the
  119. module will be called evdev.
  120. config INPUT_KUNIT_TEST
  121. tristate "KUnit tests for Input" if !KUNIT_ALL_TESTS
  122. depends on INPUT && KUNIT
  123. default KUNIT_ALL_TESTS
  124. help
  125. Say Y here if you want to build the KUnit tests for the input
  126. subsystem.
  127. If in doubt, say "N".
  128. config INPUT_APMPOWER
  129. tristate "Input Power Event -> APM Bridge" if EXPERT
  130. depends on INPUT && APM_EMULATION
  131. help
  132. Say Y here if you want suspend key events to trigger a user
  133. requested suspend through APM. This is useful on embedded
  134. systems where such behaviour is desired without userspace
  135. interaction. If unsure, say N.
  136. To compile this driver as a module, choose M here: the
  137. module will be called apm-power.
  138. comment "Input Device Drivers"
  139. source "drivers/input/keyboard/Kconfig"
  140. source "drivers/input/mouse/Kconfig"
  141. source "drivers/input/joystick/Kconfig"
  142. source "drivers/input/tablet/Kconfig"
  143. source "drivers/input/touchscreen/Kconfig"
  144. source "drivers/input/misc/Kconfig"
  145. source "drivers/input/rmi4/Kconfig"
  146. endif
  147. menu "Hardware I/O ports"
  148. source "drivers/input/serio/Kconfig"
  149. source "drivers/input/gameport/Kconfig"
  150. endmenu
  151. endmenu