readme.txt

来自「This example implements a gameport trans」· 文本 代码 · 共 27 行

TXT
27
字号
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 + =
减小字号Ctrl + -
显示快捷键?