gameport.h 834 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 1999-2002 Vojtech Pavlik
  3. *
  4. * This program is free software; you can redistribute it and/or modify it
  5. * under the terms of the GNU General Public License version 2 as published by
  6. * the Free Software Foundation.
  7. */
  8. #ifndef _GAMEPORT_H
  9. #define _GAMEPORT_H
  10. #define GAMEPORT_MODE_DISABLED 0
  11. #define GAMEPORT_MODE_RAW 1
  12. #define GAMEPORT_MODE_COOKED 2
  13. #define GAMEPORT_ID_VENDOR_ANALOG 0x0001
  14. #define GAMEPORT_ID_VENDOR_MADCATZ 0x0002
  15. #define GAMEPORT_ID_VENDOR_LOGITECH 0x0003
  16. #define GAMEPORT_ID_VENDOR_CREATIVE 0x0004
  17. #define GAMEPORT_ID_VENDOR_GENIUS 0x0005
  18. #define GAMEPORT_ID_VENDOR_INTERACT 0x0006
  19. #define GAMEPORT_ID_VENDOR_MICROSOFT 0x0007
  20. #define GAMEPORT_ID_VENDOR_THRUSTMASTER 0x0008
  21. #define GAMEPORT_ID_VENDOR_GRAVIS 0x0009
  22. #define GAMEPORT_ID_VENDOR_GUILLEMOT 0x000a
  23. #endif /* _GAMEPORT_H */