blob: 2efe9ea29d0c65eb0fa38797a4181bea41fc2a47 [file] [log] [blame]
Stefan Lucke24bf10a2007-02-18 01:49:10 -05001/* ----------------------------------------------------------------------------
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
Andres Salomon55e3d922007-03-10 01:39:54 -050015#ifdef CONFIG_MOUSE_PS2_TOUCHKIT
Dmitry Torokhovb7802c52009-09-09 19:13:20 -070016int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties);
Andres Salomon55e3d922007-03-10 01:39:54 -050017#else
Adrian Bunkb3e2c702007-08-30 00:44:33 -040018static inline int touchkit_ps2_detect(struct psmouse *psmouse,
Dmitry Torokhovb7802c52009-09-09 19:13:20 -070019 bool set_properties)
Andres Salomon55e3d922007-03-10 01:39:54 -050020{
21 return -ENOSYS;
22}
23#endif /* CONFIG_MOUSE_PS2_TOUCHKIT */
Stefan Lucke24bf10a2007-02-18 01:49:10 -050024
25#endif