You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
569 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* Linux keyboard handler routines header.
  2. Copyright by Salvador E. Tropea (SET) (2001-2002)
  3. Covered by the GPL license. */
  4. #include <tv/unix/mouse.h>
  5. #if defined(TVOSf_Linux) && !defined(LINUXMOUSE_INCLUDED)
  6. #define LINUXMOUSE_INCLUDED
  7. #ifdef HAVE_GPM
  8. class THWMouseGPM : public THWMouseUNIX
  9. {
  10. protected:
  11. THWMouseGPM() {};
  12. virtual ~THWMouseGPM();
  13. static void Suspend();
  14. static void Resume();
  15. static void GetEvent(MouseEventType &me);
  16. static void Init();
  17. friend class TScreenLinux;
  18. friend class TScreenUNIX;
  19. };
  20. #endif
  21. #endif // LINUXMOUSE_INCLUDED