diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-11-16 14:04:09 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-11-16 14:04:09 +0100 |
| commit | e56d270d5dd472219864c1735d8eee16d6f1ccdb (patch) | |
| tree | a486aeada19c76357bc9042364fcdb1ef04c0336 /usr/src/dkms_source_tree/touchkit_ps2.h | |
Add psmouse driver from maverick (Ubuntu-2.6.35-23.36).
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'usr/src/dkms_source_tree/touchkit_ps2.h')
| -rw-r--r-- | usr/src/dkms_source_tree/touchkit_ps2.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/usr/src/dkms_source_tree/touchkit_ps2.h b/usr/src/dkms_source_tree/touchkit_ps2.h new file mode 100644 index 0000000..2efe9ea --- /dev/null +++ b/usr/src/dkms_source_tree/touchkit_ps2.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* ---------------------------------------------------------------------------- | ||
| 2 | * touchkit_ps2.h -- Driver for eGalax TouchKit PS/2 Touchscreens | ||
| 3 | * | ||
| 4 | * Copyright (C) 2005 by Stefan Lucke | ||
| 5 | * Copyright (c) 2005 Vojtech Pavlik | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as published by | ||
| 9 | * the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef _TOUCHKIT_PS2_H | ||
| 13 | #define _TOUCHKIT_PS2_H | ||
| 14 | |||
| 15 | #ifdef CONFIG_MOUSE_PS2_TOUCHKIT | ||
| 16 | int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties); | ||
| 17 | #else | ||
| 18 | static inline int touchkit_ps2_detect(struct psmouse *psmouse, | ||
| 19 | bool set_properties) | ||
| 20 | { | ||
| 21 | return -ENOSYS; | ||
| 22 | } | ||
| 23 | #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */ | ||
| 24 | |||
| 25 | #endif | ||
