gameport.h 912 B

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