⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pci_gameport.h

📁 linux得一些常用命令,以及linux环境下的c编程
💻 H
字号:
#ifndef __LINUX_PCI_GAMEPORT_H#define __LINUX_PCI_GAMEPORT_H/* *	Public interfaces for attaching a PCI gameport directly to the *	soundcard when it shares the same PCI ident */ #define PCIGAME_4DWAVE		0#define PCIGAME_VORTEX		1#define PCIGAME_VORTEX2		2struct pcigame_data {	int gcr;	/* Gameport control register */	int legacy;	/* Legacy port location */	int axes;	/* Axes start */	int axsize;	/* Axis field size */	int axmax;	/* Axis field max value */	int adcmode;	/* Value to enable ADC mode in GCR */};struct pcigame {	struct gameport gameport;	struct pci_dev *dev;        unsigned char *base;	struct pcigame_data *data;};#if defined(CONFIG_INPUT_PCIGAME) || defined(CONFIG_INPUT_PCIGAME_MODULE)extern struct pcigame *pcigame_attach(struct pci_dev *dev, int type);extern void pcigame_detach(struct pcigame *game);#else#define pcigame_attach(a,b)	NULL#define pcigame_detach(a)#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -