1 #ifndef _LINUX_MOUSE_H
2 #define _LINUX_MOUSE_H
3
4 #define BUSMOUSE_MINOR 0
5 #define PSMOUSE_MINOR 1
6 #define MS_BUSMOUSE_MINOR 2
7 #define ATIXL_BUSMOUSE_MINOR 3
8
9 unsigned long mouse_init(unsigned long);
10
11 struct mouse {
12 int minor;
13 const char *name;
14 struct file_operations *fops;
15 struct mouse * next, * prev;
16 };
17
18 extern int mouse_register(struct mouse * mouse);
19 extern int mouse_deregister(struct mouse * mouse);
20
21 #endif