XboxController
所属分类:游戏机
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2024-03-04 02:36:05
上 传 者:
sh-1993
说明: Xbox控制器
(XboxController)
文件列表:
XboxController/
XboxController.sln
This is repository made for reading a wired XBOX controller input and printing 3 bytes that describe value of buttons and the Left thumbstick.
***NOTICE***
D-PAD, START, SELECT,and the right thumbstcik values are not included because adding those needs another 3 bytes.
But they can be added if required
**FIRST BYTE [Buttons]**
Byte Number | #0 | #1 | #2 | #3 | #4 | #5 | #6 | #7
--- | --- | --- | --- |--- |--- |--- |--- |---
Button | A | B | X | Y | Left Shoulder | Right Shoulder | Right Trigger | Left Trigger
The seccond byte is a signed 8_bit intiger that holds Y values. Negative values show Down direction and positive values are Up
The third byte is a signed 8_bit intiger that holds X values. Negative values show Left direction and positive values are Right
近期下载者:
相关文件:
收藏者: