1 #ifndef _GAMEPORT_H 2 #define _GAMEPORT_H 3 4 /* 5 * Copyright (c) 1999-2002 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 12 13 #define GAMEPORT_MODE_DISABLED 0 14 #define GAMEPORT_MODE_RAW 1 15 #define GAMEPORT_MODE_COOKED 2 16 17 #define GAMEPORT_ID_VENDOR_ANALOG 0x0001 18 #define GAMEPORT_ID_VENDOR_MADCATZ 0x0002 19 #define GAMEPORT_ID_VENDOR_LOGITECH 0x0003 20 #define GAMEPORT_ID_VENDOR_CREATIVE 0x0004 21 #define GAMEPORT_ID_VENDOR_GENIUS 0x0005 22 #define GAMEPORT_ID_VENDOR_INTERACT 0x0006 23 #define GAMEPORT_ID_VENDOR_MICROSOFT 0x0007 24 #define GAMEPORT_ID_VENDOR_THRUSTMASTER 0x0008 25 #define GAMEPORT_ID_VENDOR_GRAVIS 0x0009 26 #define GAMEPORT_ID_VENDOR_GUILLEMOT 0x000a 27 28 #endif 29