View Full Version : Any PB headers for Dx11 XInput out there?
Michael Hartlef
23-09-2017, 10:34
Do you have an idea where headers for PB could be found to bring XInput controller support for TB?
ErosOlmi
23-09-2017, 11:01
Have a look at José Rocha forum at http://www.jose.it-berater.org/smfforum/
This can be a start but DirectX11 ... mmmm not sure
http://www.jose.it-berater.org/smfforum/index.php?board=415.0
XInput has been around since DX9, it might be better to go with something older for compatibility reasons. Your call and no dog in the fight since I do not use X359 controllers. :D
I will have to look into the development of add-ons to thinBasic.
Mike, There is some XInput related code here (http://wasted.nz/codearcs.php?cat=5), that may or may not help. Should be easy to convert if it is something you can use.
Mike. This should help (http://www.purebasic.fr/english/viewtopic.php?f=12&t=60860).
Michael Hartlef
29-09-2017, 09:03
Thanks for the info guys. I appreciate it.
You are welcome. The compatibility issue is not unique to TB. In catching up on the Blitz drama, IanMartin was complaining about x360 controller compatibility with BlitzMax. BM only used DirectInput in its native libs. Same with PureB. Most indie languages, you kinda had to roll your own XInput support.