diff options
author | Andres Salomon <dilinger@queued.net> | 2008-09-16 12:30:34 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-09-21 18:28:58 -0400 |
commit | df08ef27a7f91961c91a2a718f5d1e616f1c8e57 (patch) | |
tree | 99d85254467e408cef43014d054f0ed97b476c67 /drivers/input/mouse/psmouse.h | |
parent | 68d482214bb0eaac138ace329e72390d6c8d44ff (diff) |
Input: psmouse - add OLPC touchpad driver
This adds support for OLPC's touchpad. It has lots of neat features,
none of which are enabled because the hardware is too buggy. Instead,
we use it like a normal touchpad, but with a number of workarounds in
place to deal with the frequent hardware spasms. Humidity changes,
sweat, tinfoil underwear, plugging in AC, drinks, evil felines.. All
tend to cause the touchpad to freak out.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/psmouse.h')
-rw-r--r-- | drivers/input/mouse/psmouse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse.h b/drivers/input/mouse/psmouse.h index 0f13c1b499ab..8b608a1cdd12 100644 --- a/drivers/input/mouse/psmouse.h +++ b/drivers/input/mouse/psmouse.h | |||
@@ -89,6 +89,7 @@ enum psmouse_type { | |||
89 | PSMOUSE_TRACKPOINT, | 89 | PSMOUSE_TRACKPOINT, |
90 | PSMOUSE_TOUCHKIT_PS2, | 90 | PSMOUSE_TOUCHKIT_PS2, |
91 | PSMOUSE_CORTRON, | 91 | PSMOUSE_CORTRON, |
92 | PSMOUSE_HGPK, | ||
92 | PSMOUSE_AUTO /* This one should always be last */ | 93 | PSMOUSE_AUTO /* This one should always be last */ |
93 | }; | 94 | }; |
94 | 95 | ||
@@ -99,7 +100,6 @@ int psmouse_reset(struct psmouse *psmouse); | |||
99 | void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state); | 100 | void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state); |
100 | void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); | 101 | void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution); |
101 | 102 | ||
102 | |||
103 | struct psmouse_attribute { | 103 | struct psmouse_attribute { |
104 | struct device_attribute dattr; | 104 | struct device_attribute dattr; |
105 | void *data; | 105 | void *data; |