xref: /linux/drivers/input/keyboard/Kconfig (revision f9705fcb9887fcff364a0c8dffbac693aa221d4f)
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
16aaef685dSDmitry Torokhov	tristate "AT keyboard" if EMBEDDED || !X86_PC
171da177e4SLinus Torvalds	default y
181da177e4SLinus Torvalds	select SERIO
191da177e4SLinus Torvalds	select SERIO_LIBPS2
20f2c84c0eSArthur Othieno	select SERIO_I8042 if X86_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"
9665d406acSPavel 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
124f35d0616SMarek Vasutconfig KEYBOARD_STOWAWAY
125f35d0616SMarek Vasut	tristate "Stowaway keyboard"
126f35d0616SMarek Vasut	select SERIO
127f35d0616SMarek Vasut	help
128f35d0616SMarek Vasut	  Say Y here if you have a Stowaway keyboard on a serial port.
129f35d0616SMarek Vasut	  Stowaway compatible keyboards like Dicota Input-PDA keyboard
130f35d0616SMarek Vasut	  are also supported by this driver.
131f35d0616SMarek Vasut
132f35d0616SMarek Vasut	  To compile this driver as a module, choose M here: the
133f35d0616SMarek Vasut	  module will be called stowaway.
134f35d0616SMarek Vasut
1351da177e4SLinus Torvaldsconfig KEYBOARD_CORGI
1361da177e4SLinus Torvalds	tristate "Corgi keyboard"
1371da177e4SLinus Torvalds	depends on PXA_SHARPSL
1381da177e4SLinus Torvalds	default y
1391da177e4SLinus Torvalds	help
1401da177e4SLinus Torvalds	  Say Y here to enable the keyboard on the Sharp Zaurus SL-C7xx
1411da177e4SLinus Torvalds	  series of PDAs.
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1441da177e4SLinus Torvalds	  module will be called corgikbd.
1451da177e4SLinus Torvalds
146fff71312SRichard Purdieconfig KEYBOARD_SPITZ
147fff71312SRichard Purdie	tristate "Spitz keyboard"
148fff71312SRichard Purdie	depends on PXA_SHARPSL
149fff71312SRichard Purdie	default y
150fff71312SRichard Purdie	help
151fff71312SRichard Purdie	  Say Y here to enable the keyboard on the Sharp Zaurus SL-C1000,
152fff71312SRichard Purdie	  SL-C3000 and Sl-C3100 series of PDAs.
153fff71312SRichard Purdie
154fff71312SRichard Purdie	  To compile this driver as a module, choose M here: the
155fff71312SRichard Purdie	  module will be called spitzkbd.
156fff71312SRichard Purdie
1571da177e4SLinus Torvaldsconfig KEYBOARD_AMIGA
1581da177e4SLinus Torvalds	tristate "Amiga keyboard"
1591da177e4SLinus Torvalds	depends on AMIGA
1601da177e4SLinus Torvalds	help
1611da177e4SLinus Torvalds	  Say Y here if you are running Linux on any AMIGA and have a keyboard
1621da177e4SLinus Torvalds	  attached.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1651da177e4SLinus Torvalds	  module will be called amikbd.
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsconfig KEYBOARD_HIL_OLD
1681da177e4SLinus Torvalds	tristate "HP HIL keyboard support (simple driver)"
169da96d0b5SGeert Uytterhoeven	depends on GSC || HP300
1701da177e4SLinus Torvalds	default y
1711da177e4SLinus Torvalds	help
1721da177e4SLinus Torvalds	  The "Human Interface Loop" is a older, 8-channel USB-like
1731da177e4SLinus Torvalds	  controller used in several Hewlett Packard models. This driver
1741da177e4SLinus Torvalds	  was adapted from the one written for m68k/hp300, and implements
1751da177e4SLinus Torvalds	  support for a keyboard attached to the HIL port, but not for
1761da177e4SLinus Torvalds	  any other types of HIL input devices like mice or tablets.
1771da177e4SLinus Torvalds	  However, it has been thoroughly tested and is stable.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  If you want full HIL support including support for multiple
18009509603SMatt LaPlante	  keyboards, mice, and tablets, you have to enable the
1811da177e4SLinus Torvalds	  "HP System Device Controller i8042 Support" in the input/serio
1821da177e4SLinus Torvalds	  submenu.
1831da177e4SLinus Torvalds
1841da177e4SLinus Torvaldsconfig KEYBOARD_HIL
1851da177e4SLinus Torvalds	tristate "HP HIL keyboard support"
186da96d0b5SGeert Uytterhoeven	depends on GSC || HP300
1871da177e4SLinus Torvalds	default y
1881da177e4SLinus Torvalds	select HP_SDC
1891da177e4SLinus Torvalds	select HIL_MLC
1901da177e4SLinus Torvalds	select SERIO
1911da177e4SLinus Torvalds	help
1921da177e4SLinus Torvalds	  The "Human Interface Loop" is a older, 8-channel USB-like
1931da177e4SLinus Torvalds	  controller used in several Hewlett Packard models.
1941da177e4SLinus Torvalds	  This driver implements support for HIL-keyboards attached
1951da177e4SLinus Torvalds	  to your machine, so normally you should say Y here.
1961da177e4SLinus Torvalds
197ad4e09b1SKomal Shahconfig KEYBOARD_OMAP
198ad4e09b1SKomal Shah	tristate "TI OMAP keypad support"
199ad4e09b1SKomal Shah	depends on (ARCH_OMAP1 || ARCH_OMAP2)
200ad4e09b1SKomal Shah	help
201ad4e09b1SKomal Shah	  Say Y here if you want to use the OMAP keypad.
202ad4e09b1SKomal Shah
203ad4e09b1SKomal Shah	  To compile this driver as a module, choose M here: the
204ad4e09b1SKomal Shah	  module will be called omap-keypad.
205ad4e09b1SKomal Shah
206*f9705fcbSNicolas Bellidoconfig KEYBOARD_AAED2000
207*f9705fcbSNicolas Bellido	tristate "AAED-2000 keyboard"
208*f9705fcbSNicolas Bellido	depends on MACH_AAED2000
209*f9705fcbSNicolas Bellido	default y
210*f9705fcbSNicolas Bellido	help
211*f9705fcbSNicolas Bellido	  Say Y here to enable the keyboard on the Agilent AAED-2000
212*f9705fcbSNicolas Bellido	  development board.
213*f9705fcbSNicolas Bellido
214*f9705fcbSNicolas Bellido	  To compile this driver as a module, choose M here: the
215*f9705fcbSNicolas Bellido	  module will be called aaed2000_kbd.
216*f9705fcbSNicolas Bellido
2171da177e4SLinus Torvaldsendif
218