xref: /linux/drivers/input/keyboard/Kconfig (revision 65d406ace3b44e042807d3f9a2e71088818e80f2)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Input core configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvaldsmenuconfig INPUT_KEYBOARD
51da177e4SLinus Torvalds	bool "Keyboards" if EMBEDDED || !X86
61da177e4SLinus Torvalds	default y
71da177e4SLinus Torvalds	help
81da177e4SLinus Torvalds	  Say Y here, and a list of supported keyboards will be displayed.
91da177e4SLinus Torvalds	  This option doesn't affect the kernel.
101da177e4SLinus Torvalds
111da177e4SLinus Torvalds	  If unsure, say Y.
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsif INPUT_KEYBOARD
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsconfig KEYBOARD_ATKBD
161da177e4SLinus Torvalds	tristate "AT keyboard" if !PC
171da177e4SLinus Torvalds	default y
181da177e4SLinus Torvalds	select SERIO
191da177e4SLinus Torvalds	select SERIO_LIBPS2
201da177e4SLinus Torvalds	select SERIO_I8042 if PC
211da177e4SLinus Torvalds	select SERIO_GSCPS2 if GSC
221da177e4SLinus Torvalds	help
231da177e4SLinus Torvalds	  Say Y here if you want to use a standard AT or PS/2 keyboard. Usually
241da177e4SLinus Torvalds	  you'll need this, unless you have a different type keyboard (USB, ADB
251da177e4SLinus Torvalds	  or other). This also works for AT and PS/2 keyboards connected over a
261da177e4SLinus Torvalds	  PS/2 to serial converter.
271da177e4SLinus Torvalds
281da177e4SLinus Torvalds	  If unsure, say Y.
291da177e4SLinus Torvalds
301da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
311da177e4SLinus Torvalds	  module will be called atkbd.
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsconfig KEYBOARD_ATKBD_HP_KEYCODES
341da177e4SLinus Torvalds	bool "Use HP keyboard scancodes"
351da177e4SLinus Torvalds	depends on PARISC && KEYBOARD_ATKBD
361da177e4SLinus Torvalds	default y
371da177e4SLinus Torvalds	help
381da177e4SLinus Torvalds	  Say Y here if you have a PA-RISC machine and want to use an AT or
391da177e4SLinus Torvalds	  PS/2 keyboard, and your keyboard uses keycodes that are specific to
401da177e4SLinus Torvalds	  PA-RISC keyboards.
411da177e4SLinus Torvalds
421da177e4SLinus Torvalds	  Say N if you use a standard keyboard.
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldsconfig KEYBOARD_ATKBD_RDI_KEYCODES
451da177e4SLinus Torvalds	bool "Use PrecisionBook keyboard scancodes"
461da177e4SLinus Torvalds	depends on KEYBOARD_ATKBD_HP_KEYCODES
471da177e4SLinus Torvalds	default n
481da177e4SLinus Torvalds	help
491da177e4SLinus Torvalds	  If you have an RDI PrecisionBook, say Y here if you want to use its
501da177e4SLinus Torvalds	  built-in keyboard (as opposed to an external keyboard).
511da177e4SLinus Torvalds
521da177e4SLinus Torvalds	  The PrecisionBook has five keys that conflict with those used by most
531da177e4SLinus Torvalds	  AT and PS/2 keyboards. These are as follows:
541da177e4SLinus Torvalds
551da177e4SLinus Torvalds	    PrecisionBook    Standard AT or PS/2
561da177e4SLinus Torvalds
571da177e4SLinus Torvalds	    F1               F12
581da177e4SLinus Torvalds	    Left Ctrl        Left Alt
591da177e4SLinus Torvalds	    Caps Lock        Left Ctrl
601da177e4SLinus Torvalds	    Right Ctrl       Caps Lock
611da177e4SLinus Torvalds	    Left             102nd key (the key to the right of Left Shift)
621da177e4SLinus Torvalds
631da177e4SLinus Torvalds	  If you say N here, and use the PrecisionBook keyboard, then each key
641da177e4SLinus Torvalds	  in the left-hand column will be interpreted as the corresponding key
651da177e4SLinus Torvalds	  in the right-hand column.
661da177e4SLinus Torvalds
671da177e4SLinus Torvalds	  If you say Y here, and use an external keyboard, then each key in the
681da177e4SLinus Torvalds	  right-hand column will be interpreted as the key shown in the
691da177e4SLinus Torvalds	  left-hand column.
701da177e4SLinus Torvalds
711da177e4SLinus Torvaldsconfig KEYBOARD_SUNKBD
721da177e4SLinus Torvalds	tristate "Sun Type 4 and Type 5 keyboard"
731da177e4SLinus Torvalds	select SERIO
741da177e4SLinus Torvalds	help
751da177e4SLinus Torvalds	  Say Y here if you want to use a Sun Type 4 or Type 5 keyboard,
761da177e4SLinus Torvalds	  connected either to the Sun keyboard connector or to an serial
771da177e4SLinus Torvalds	  (RS-232) port via a simple adapter.
781da177e4SLinus Torvalds
791da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
801da177e4SLinus Torvalds	  module will be called sunkbd.
811da177e4SLinus Torvalds
821da177e4SLinus Torvaldsconfig KEYBOARD_LKKBD
831da177e4SLinus Torvalds	tristate "DECstation/VAXstation LK201/LK401 keyboard"
841da177e4SLinus Torvalds	select SERIO
851da177e4SLinus Torvalds	help
861da177e4SLinus Torvalds	  Say Y here if you want to use a LK201 or LK401 style serial
871da177e4SLinus Torvalds	  keyboard. This keyboard is also useable on PCs if you attach
881da177e4SLinus Torvalds	  it with the inputattach program. The connector pinout is
891da177e4SLinus Torvalds	  described within lkkbd.c.
901da177e4SLinus Torvalds
911da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
921da177e4SLinus Torvalds	  module will be called lkkbd.
931da177e4SLinus Torvalds
941da177e4SLinus Torvaldsconfig KEYBOARD_LOCOMO
951da177e4SLinus Torvalds	tristate "LoCoMo Keyboard Support"
96*65d406acSPavel Machek	depends on SHARP_LOCOMO && INPUT_KEYBOARD
971da177e4SLinus Torvalds	help
981da177e4SLinus Torvalds	  Say Y here if you are running Linux on a Sharp Zaurus Collie or Poodle based PDA
991da177e4SLinus Torvalds
1001da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1011da177e4SLinus Torvalds	  module will be called locomokbd.
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvaldsconfig KEYBOARD_XTKBD
1041da177e4SLinus Torvalds	tristate "XT keyboard"
1051da177e4SLinus Torvalds	select SERIO
1061da177e4SLinus Torvalds	help
1071da177e4SLinus Torvalds	  Say Y here if you want to use the old IBM PC/XT keyboard (or
1081da177e4SLinus Torvalds	  compatible) on your system. This is only possible with a
1091da177e4SLinus Torvalds	  parallel port keyboard adapter, you cannot connect it to the
1101da177e4SLinus Torvalds	  keyboard port on a PC that runs Linux.
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1131da177e4SLinus Torvalds	  module will be called xtkbd.
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvaldsconfig KEYBOARD_NEWTON
1161da177e4SLinus Torvalds	tristate "Newton keyboard"
1171da177e4SLinus Torvalds	select SERIO
1181da177e4SLinus Torvalds	help
1191da177e4SLinus Torvalds	  Say Y here if you have a Newton keyboard on a serial port.
1201da177e4SLinus Torvalds
1211da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1221da177e4SLinus Torvalds	  module will be called newtonkbd.
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvaldsconfig KEYBOARD_CORGI
1251da177e4SLinus Torvalds	tristate "Corgi keyboard"
1261da177e4SLinus Torvalds	depends on PXA_SHARPSL
1271da177e4SLinus Torvalds	default y
1281da177e4SLinus Torvalds	help
1291da177e4SLinus Torvalds	  Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
1301da177e4SLinus Torvalds	  series of PDAs.
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1331da177e4SLinus Torvalds	  module will be called corgikbd.
1341da177e4SLinus Torvalds
135fff71312SRichard Purdieconfig KEYBOARD_SPITZ
136fff71312SRichard Purdie	tristate "Spitz keyboard"
137fff71312SRichard Purdie	depends on PXA_SHARPSL
138fff71312SRichard Purdie	default y
139fff71312SRichard Purdie	help
140fff71312SRichard Purdie	  Say Y here to enable the keyboard on the Sharp Zaurus SL-C1000,
141fff71312SRichard Purdie	  SL-C3000 and Sl-C3100 series of PDAs.
142fff71312SRichard Purdie
143fff71312SRichard Purdie	  To compile this driver as a module, choose M here: the
144fff71312SRichard Purdie	  module will be called spitzkbd.
145fff71312SRichard Purdie
1461da177e4SLinus Torvaldsconfig KEYBOARD_MAPLE
1471da177e4SLinus Torvalds	tristate "Maple bus keyboard"
1481da177e4SLinus Torvalds	depends on SH_DREAMCAST && MAPLE
1491da177e4SLinus Torvalds	help
1501da177e4SLinus Torvalds	  Say Y here if you have a DreamCast console running Linux and have
1511da177e4SLinus Torvalds	  a keyboard attached to its Maple bus.
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1541da177e4SLinus Torvalds	  module will be called maple_keyb.
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvaldsconfig KEYBOARD_AMIGA
1571da177e4SLinus Torvalds	tristate "Amiga keyboard"
1581da177e4SLinus Torvalds	depends on AMIGA
1591da177e4SLinus Torvalds	help
1601da177e4SLinus Torvalds	  Say Y here if you are running Linux on any AMIGA and have a keyboard
1611da177e4SLinus Torvalds	  attached.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1641da177e4SLinus Torvalds	  module will be called amikbd.
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsconfig KEYBOARD_HIL_OLD
1671da177e4SLinus Torvalds	tristate "HP HIL keyboard support (simple driver)"
1681da177e4SLinus Torvalds	depends on GSC
1691da177e4SLinus Torvalds	default y
1701da177e4SLinus Torvalds	help
1711da177e4SLinus Torvalds	  The "Human Interface Loop" is a older, 8-channel USB-like
1721da177e4SLinus Torvalds	  controller used in several Hewlett Packard models. This driver
1731da177e4SLinus Torvalds	  was adapted from the one written for m68k/hp300, and implements
1741da177e4SLinus Torvalds	  support for a keyboard attached to the HIL port, but not for
1751da177e4SLinus Torvalds	  any other types of HIL input devices like mice or tablets.
1761da177e4SLinus Torvalds	  However, it has been thoroughly tested and is stable.
1771da177e4SLinus Torvalds
1781da177e4SLinus Torvalds	  If you want full HIL support including support for multiple
1791da177e4SLinus Torvalds	  keyboards, mices and tablets, you have to enable the
1801da177e4SLinus Torvalds	  "HP System Device Controller i8042 Support" in the input/serio
1811da177e4SLinus Torvalds	  submenu.
1821da177e4SLinus Torvalds
1831da177e4SLinus Torvaldsconfig KEYBOARD_HIL
1841da177e4SLinus Torvalds	tristate "HP HIL keyboard support"
1851da177e4SLinus Torvalds	depends on GSC
1861da177e4SLinus Torvalds	default y
1871da177e4SLinus Torvalds	select HP_SDC
1881da177e4SLinus Torvalds	select HIL_MLC
1891da177e4SLinus Torvalds	select SERIO
1901da177e4SLinus Torvalds	help
1911da177e4SLinus Torvalds	  The "Human Interface Loop" is a older, 8-channel USB-like
1921da177e4SLinus Torvalds	  controller used in several Hewlett Packard models.
1931da177e4SLinus Torvalds	  This driver implements support for HIL-keyboards attached
1941da177e4SLinus Torvalds	  to your machine, so normally you should say Y here.
1951da177e4SLinus Torvalds
1961da177e4SLinus Torvaldsendif
197