touchkit_ps2.h (24bf10ab2d72863a14187905fd992ca8119c809e) | touchkit_ps2.h (55e3d9224b60df0fd2dc36bff9b538ce40fd9586) |
---|---|
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 | 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 |
|
15int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); | 16int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties); |
17#else 18inline int touchkit_ps2_detect(struct psmouse *psmouse, int set_properties) 19{ 20 return -ENOSYS; 21} 22#endif /* CONFIG_MOUSE_PS2_TOUCHKIT */ |
|
16 17#endif | 23 24#endif |