ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / drivers / input / mouse / logips2pp.h
1 /*
2  * Logitech PS/2++ mouse driver header
3  *
4  * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz>
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published by
8  * the Free Software Foundation.
9  */
10
11 #ifndef _LOGIPS2PP_H
12 #define _LOGIPS2PP_H
13
14 #define PS2PP_4BTN      0x01
15 #define PS2PP_WHEEL     0x02
16 #define PS2PP_MX        0x04
17 #define PS2PP_MX310     0x08
18
19 struct psmouse;
20 void ps2pp_process_packet(struct psmouse *psmouse);
21 void ps2pp_set_800dpi(struct psmouse *psmouse);
22 int ps2pp_detect(struct psmouse *psmouse);
23 #endif