Kconfig 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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_EVBUG
  121. tristate "Event debugging"
  122. help
  123. Say Y here if you have a problem with the input subsystem and
  124. want all events (keypresses, mouse movements), to be output to
  125. the system log. While this is useful for debugging, it's also
  126. a security threat - your keypresses include your passwords, of
  127. course.
  128. If unsure, say N.
  129. To compile this driver as a module, choose M here: the
  130. module will be called evbug.
  131. config INPUT_APMPOWER
  132. tristate "Input Power Event -> APM Bridge" if EXPERT
  133. depends on INPUT && APM_EMULATION
  134. help
  135. Say Y here if you want suspend key events to trigger a user
  136. requested suspend through APM. This is useful on embedded
  137. systems where such behaviour is desired without userspace
  138. interaction. If unsure, say N.
  139. To compile this driver as a module, choose M here: the
  140. module will be called apm-power.
  141. comment "Input Device Drivers"
  142. source "drivers/input/keyboard/Kconfig"
  143. source "drivers/input/mouse/Kconfig"
  144. source "drivers/input/joystick/Kconfig"
  145. source "drivers/input/tablet/Kconfig"
  146. source "drivers/input/touchscreen/Kconfig"
  147. source "drivers/input/misc/Kconfig"
  148. source "drivers/input/rmi4/Kconfig"
  149. endif
  150. menu "Hardware I/O ports"
  151. source "drivers/input/serio/Kconfig"
  152. source "drivers/input/gameport/Kconfig"
  153. endmenu
  154. endmenu