touchkit_ps2.h 742 B

12345678910111213141516171819202122232425
  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. #ifndef _TOUCHKIT_PS2_H
  12. #define _TOUCHKIT_PS2_H
  13. #ifdef CONFIG_MOUSE_PS2_TOUCHKIT
  14. int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties);
  15. #else
  16. static inline int touchkit_ps2_detect(struct psmouse *psmouse,
  17. bool set_properties)
  18. {
  19. return -ENOSYS;
  20. }
  21. #endif /* CONFIG_MOUSE_PS2_TOUCHKIT */
  22. #endif