mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
![Hans-Christian Egtvedt](/assets/img/avatar_default.png)
Adds support for simulating a mouse using GPIO lines. The driver needs an appropriate platform device to be created by architecture code. The driver has been tested on AT32AP7000 microprocessor using the ATSTK1000 development board. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
235 lines
6.1 KiB
Text
235 lines
6.1 KiB
Text
#
|
|
# Mouse driver configuration
|
|
#
|
|
menuconfig INPUT_MOUSE
|
|
bool "Mice"
|
|
default y
|
|
help
|
|
Say Y here, and a list of supported mice will be displayed.
|
|
This option doesn't affect the kernel.
|
|
|
|
If unsure, say Y.
|
|
|
|
if INPUT_MOUSE
|
|
|
|
config MOUSE_PS2
|
|
tristate "PS/2 mouse"
|
|
default y
|
|
select SERIO
|
|
select SERIO_LIBPS2
|
|
select SERIO_I8042 if X86_PC
|
|
select SERIO_GSCPS2 if GSC
|
|
help
|
|
Say Y here if you have a PS/2 mouse connected to your system. This
|
|
includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
|
|
mice with wheels and extra buttons, Microsoft, Logitech or Genius
|
|
compatible.
|
|
|
|
Synaptics TouchPad users might be interested in a specialized
|
|
XFree86 driver at:
|
|
<http://w1.894.telia.com/~u89404340/touchpad/index.html>
|
|
and a new version of GPM at:
|
|
<http://www.geocities.com/dt_or/gpm/gpm.html>
|
|
to take advantage of the advanced features of the touchpad.
|
|
|
|
If unsure, say Y.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called psmouse.
|
|
|
|
config MOUSE_PS2_ALPS
|
|
bool "ALPS PS/2 mouse protocol extension" if EMBEDDED
|
|
default y
|
|
depends on MOUSE_PS2
|
|
help
|
|
Say Y here if you have an ALPS PS/2 touchpad connected to
|
|
your system.
|
|
|
|
If unsure, say Y.
|
|
|
|
config MOUSE_PS2_LOGIPS2PP
|
|
bool "Logitech PS/2++ mouse protocol extension" if EMBEDDED
|
|
default y
|
|
depends on MOUSE_PS2
|
|
help
|
|
Say Y here if you have a Logictech PS/2++ mouse connected to
|
|
your system.
|
|
|
|
If unsure, say Y.
|
|
|
|
config MOUSE_PS2_SYNAPTICS
|
|
bool "Synaptics PS/2 mouse protocol extension" if EMBEDDED
|
|
default y
|
|
depends on MOUSE_PS2
|
|
help
|
|
Say Y here if you have a Synaptics PS/2 TouchPad connected to
|
|
your system.
|
|
|
|
If unsure, say Y.
|
|
|
|
config MOUSE_PS2_LIFEBOOK
|
|
bool "Fujitsu Lifebook PS/2 mouse protocol extension" if EMBEDDED
|
|
default y
|
|
depends on MOUSE_PS2
|
|
help
|
|
Say Y here if you have a Fujitsu B-series Lifebook PS/2
|
|
TouchScreen connected to your system.
|
|
|
|
If unsure, say Y.
|
|
|
|
config MOUSE_PS2_TRACKPOINT
|
|
bool "IBM Trackpoint PS/2 mouse protocol extension" if EMBEDDED
|
|
default y
|
|
depends on MOUSE_PS2
|
|
help
|
|
Say Y here if you have an IBM Trackpoint PS/2 mouse connected
|
|
to your system.
|
|
|
|
If unsure, say Y.
|
|
|
|
config MOUSE_PS2_TOUCHKIT
|
|
bool "eGalax TouchKit PS/2 protocol extension"
|
|
depends on MOUSE_PS2
|
|
help
|
|
Say Y here if you have an eGalax TouchKit PS/2 touchscreen
|
|
connected to your system.
|
|
|
|
If unsure, say N.
|
|
|
|
config MOUSE_SERIAL
|
|
tristate "Serial mouse"
|
|
select SERIO
|
|
help
|
|
Say Y here if you have a serial (RS-232, COM port) mouse connected
|
|
to your system. This includes Sun, MouseSystems, Microsoft,
|
|
Logitech and all other compatible serial mice.
|
|
|
|
If unsure, say N.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called sermouse.
|
|
|
|
config MOUSE_APPLETOUCH
|
|
tristate "Apple USB Touchpad support"
|
|
depends on USB_ARCH_HAS_HCD
|
|
select USB
|
|
help
|
|
Say Y here if you want to use an Apple USB Touchpad.
|
|
|
|
These are the touchpads that can be found on post-February 2005
|
|
Apple Powerbooks (prior models have a Synaptics touchpad connected
|
|
to the ADB bus).
|
|
|
|
This driver provides a basic mouse driver but can be interfaced
|
|
with the synaptics X11 driver to provide acceleration and
|
|
scrolling in X11.
|
|
|
|
For further information, see
|
|
<file:Documentation/input/appletouch.txt>.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called appletouch.
|
|
|
|
config MOUSE_INPORT
|
|
tristate "InPort/MS/ATIXL busmouse"
|
|
depends on ISA
|
|
help
|
|
Say Y here if you have an InPort, Microsoft or ATI XL busmouse.
|
|
They are rather rare these days.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called inport.
|
|
|
|
config MOUSE_ATIXL
|
|
bool "ATI XL variant"
|
|
depends on MOUSE_INPORT
|
|
help
|
|
Say Y here if your mouse is of the ATI XL variety.
|
|
|
|
config MOUSE_LOGIBM
|
|
tristate "Logitech busmouse"
|
|
depends on ISA
|
|
help
|
|
Say Y here if you have a Logitech busmouse.
|
|
They are rather rare these days.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called logibm.
|
|
|
|
config MOUSE_PC110PAD
|
|
tristate "IBM PC110 touchpad"
|
|
depends on ISA
|
|
help
|
|
Say Y if you have the IBM PC-110 micro-notebook and want its
|
|
touchpad supported.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called pc110pad.
|
|
|
|
config MOUSE_AMIGA
|
|
tristate "Amiga mouse"
|
|
depends on AMIGA
|
|
help
|
|
Say Y here if you have an Amiga and want its native mouse
|
|
supported by the kernel.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called amimouse.
|
|
|
|
config MOUSE_ATARI
|
|
tristate "Atari mouse"
|
|
depends on ATARI
|
|
select ATARI_KBD_CORE
|
|
help
|
|
Say Y here if you have an Atari and want its native mouse
|
|
supported by the kernel.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called atarimouse.
|
|
|
|
config MOUSE_RISCPC
|
|
tristate "Acorn RiscPC mouse"
|
|
depends on ARCH_ACORN
|
|
help
|
|
Say Y here if you have the Acorn RiscPC computer and want its
|
|
native mouse supported.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called rpcmouse.
|
|
|
|
config MOUSE_VSXXXAA
|
|
tristate "DEC VSXXX-AA/GA mouse and VSXXX-AB tablet"
|
|
select SERIO
|
|
help
|
|
Say Y (or M) if you want to use a DEC VSXXX-AA (hockey
|
|
puck) or a VSXXX-GA (rectangular) mouse. Theses mice are
|
|
typically used on DECstations or VAXstations, but can also
|
|
be used on any box capable of RS232 (with some adaptor
|
|
described in the source file). This driver also works with the
|
|
digitizer (VSXXX-AB) DEC produced.
|
|
|
|
config MOUSE_HIL
|
|
tristate "HIL pointers (mice etc)."
|
|
depends on GSC || HP300
|
|
select HP_SDC
|
|
select HIL_MLC
|
|
help
|
|
Say Y here to support HIL pointers.
|
|
|
|
config MOUSE_GPIO
|
|
tristate "GPIO mouse"
|
|
depends on GENERIC_GPIO
|
|
select INPUT_POLLDEV
|
|
help
|
|
This driver simulates a mouse on GPIO lines of various CPUs (and some
|
|
other chips).
|
|
|
|
Say Y here if your device has buttons or a simple joystick connected
|
|
directly to GPIO lines. Your board-specific setup logic must also
|
|
provide a platform device and platform data saying which GPIOs are
|
|
used.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called gpio_mouse.
|
|
|
|
endif
|