问题描述
亲爱的先生/小姐
现在我编写Window DirectInput来捕捉游戏手柄F310中的事件。
要求使用中断模式来处理状态设备的更改。
要做到这一点,当状态设备(F310)改变时,游戏手柄F310必须支持中断装置,将中断提升到PC然后应用程序才能知道。但是我不知道游戏手柄F310是否支持中断。
如果F310支持中断,应用程序需要CreateEvent - >通过调用IDirectInputDevice8 :: SetEventNotification方法绑定到Window DirectInput。
你能支持我们支持F310的中断吗?我的解决方案是否可以支持中断?
非常感谢
Dear Mr/Ms
Now I am programming Window DirectInput to catch event from gamepad F310.
Requirement is use interrupt mode to handle when state device is changed.
To do this, gamepad F310 must support interrupt mean when state device(F310) is changed, raise interrupt to PC then application can know. But I can not know gamepad F310 support interrupt or not.
If F310 support interrupt, application need to CreateEvent -> bind to Window DirectInput by calling IDirectInputDevice8::SetEventNotification Method.
Could you support us about supporting interrupt of F310 and my solution is OK or not incase support interrupt?
Thank you very much
推荐答案
这篇关于[游戏编程] F310的中断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!