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

📄 readme.txt

📁 This example implements a gameport translator on the PIC16C765. The firmware translates a gaming d
💻 TXT
字号:
Gameport demonstration     		  	Rev. -    30 August 2001

Summary:

This example implements a gameport translator on the PIC16C765.  The 
firmware translates a gaming device plugged into the gameport to a USB 
gaming device.  The firmware is set up to translate the DexxaTM 
eight-button gamepad.  Changes to the firmware will be necessary 
for a different gaming device.

This example is based on version 1.1 of the USB Specification. 
Gamepads fall into the Human Interface Device (HID) classification of
USB devices.  Windows ME/2000 and Mac OS10 provide drivers for the HID 
class so you won't have to make your own.      



Relevant Functions:

	ReadButtons - Reads the gamepad button states.

	ReadXAxis - Reads the state of the D-pad's x-axis.

	ReadYAxis - Reads the state of the D-pad's y-axis.

	InitGameport - Initiates the appropriate registers for 
		       translating the gamepad.

⌨️ 快捷键说明

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