文件名称:JoyLib
介绍说明--下载内容均来自于网络,请自行研究使用
通用游戏杆静态库封装了基于DirectXInput的游戏杆通用API函数,很简单,直接调用下面几个函数就可以了
BOOL InitJoyStick(HINSTANCE hInst, HWND hWnd) //1.初始化游戏杆,调试时会输出游戏杆信息
BOOL AcquireJoystick(void) //2.获取对游戏杆的控制权
bool ReadJoystick() //3.读取游戏杆状态数据
void DeleteJoyStick(void) //4.清除对游戏杆的控制
-General joystick static library package DirectXInput the joystick-based GM API function, very simple, direct call the following function can be a BOOL InitJoyStick (HINSTANCE hInst, HWND hWnd)// 1. Initialization joystick, debugging will output joystick information BOOL AcquireJoystick (void)// 2. access to the joystick control bool ReadJoystick ()// 3. read joystick state data void DeleteJoyStick (void)// 4. removal of the joystick control
BOOL InitJoyStick(HINSTANCE hInst, HWND hWnd) //1.初始化游戏杆,调试时会输出游戏杆信息
BOOL AcquireJoystick(void) //2.获取对游戏杆的控制权
bool ReadJoystick() //3.读取游戏杆状态数据
void DeleteJoyStick(void) //4.清除对游戏杆的控制
-General joystick static library package DirectXInput the joystick-based GM API function, very simple, direct call the following function can be a BOOL InitJoyStick (HINSTANCE hInst, HWND hWnd)// 1. Initialization joystick, debugging will output joystick information BOOL AcquireJoystick (void)// 2. access to the joystick control bool ReadJoystick ()// 3. read joystick state data void DeleteJoyStick (void)// 4. removal of the joystick control
(系统自动生成,下载前可以参看下载内容)
下载文件列表
JoyDll.h
JoyDll.lib
JoyDll.lib