logips2pp.h 577 B

1234567891011121314151617181920212223
  1. /*
  2. * Logitech PS/2++ mouse driver header
  3. *
  4. * Copyright (c) 2003 Vojtech Pavlik <vojtech@suse.cz>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published by
  8. * the Free Software Foundation.
  9. */
  10. #ifndef _LOGIPS2PP_H
  11. #define _LOGIPS2PP_H
  12. #ifdef CONFIG_MOUSE_PS2_LOGIPS2PP
  13. int ps2pp_init(struct psmouse *psmouse, bool set_properties);
  14. #else
  15. inline int ps2pp_init(struct psmouse *psmouse, bool set_properties)
  16. {
  17. return -ENOSYS;
  18. }
  19. #endif /* CONFIG_MOUSE_PS2_LOGIPS2PP */
  20. #endif