Input: psmouse - export protocol as a sysfs per-device attribute

to allow easy switching at run-time.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
Dmitry Torokhov
2005-06-01 02:40:01 -05:00
parent 905ab9d136
commit dbf4ccd604
4 changed files with 266 additions and 50 deletions

View File

@@ -78,6 +78,7 @@ enum psmouse_type {
PSMOUSE_SYNAPTICS,
PSMOUSE_ALPS,
PSMOUSE_LIFEBOOK,
PSMOUSE_AUTO /* This one should always be last */
};
int psmouse_sliced_command(struct psmouse *psmouse, unsigned char command);