I like stupid things. Anyways I modified FastIO2KB to interface with ViGEm and register FastIO as two XINPUT 360 controllers. This allows you to interface directly with any application that requires xinput such as Steam and other major PC-based titles. Woo! More game!
While this works I want to preface this post with a warning: I am not a developer, this is not my day job and I am not good at writing code. It works, it could be better. This is why I'm posting everything here and leaving the project up to someone else to pretty the code up as well as put it on github should they so choose. You are free to do what you want with this code, I don't really care.
USAGE:
The binary included is a x86 binary meaning it should work on all setups that are running Windows 10. Install ViGEmBus to your system https://github.com/ViGEm/ViGEmBus/releases
Place iDmacDrv32.dll next to the two files included - ViGEmClient.dll & fastio2xinput.exe so all three are in the same directory.
Launch fastio2xinput and you should see two 360 controllers attached to the system. That's it. You're ready to play PC games.
Bindings are as such:
Both P1 & P2:
UDLR: directional hat UDLR
button 1: X
button 2: Y
button 3: RB
button 4: A
button 5: B
button 6: RT
button 7: LB
button 8: LT
Dedicated buttons:
Test 1: P1 home button
Service 1: P1 back button
Coin 1 & 2: do nothing
Service 2: do nothing
Tilt 1: do nothing
Bindings are simple to redo, I cleaned the code base up quite a bit. Player 3 and 4 can be added but I didn't bother with defining them. Again friendly reminder I am not a programmer and am well aware this could be cleaned up quite a bit. If you're going to comment about the state of the VS project feel free to improve it yourself and put it on github... this is working for what I needed so I am done with this.
While this works I want to preface this post with a warning: I am not a developer, this is not my day job and I am not good at writing code. It works, it could be better. This is why I'm posting everything here and leaving the project up to someone else to pretty the code up as well as put it on github should they so choose. You are free to do what you want with this code, I don't really care.
USAGE:
The binary included is a x86 binary meaning it should work on all setups that are running Windows 10. Install ViGEmBus to your system https://github.com/ViGEm/ViGEmBus/releases
Place iDmacDrv32.dll next to the two files included - ViGEmClient.dll & fastio2xinput.exe so all three are in the same directory.
Launch fastio2xinput and you should see two 360 controllers attached to the system. That's it. You're ready to play PC games.
Bindings are as such:
Both P1 & P2:
UDLR: directional hat UDLR
button 1: X
button 2: Y
button 3: RB
button 4: A
button 5: B
button 6: RT
button 7: LB
button 8: LT
Dedicated buttons:
Test 1: P1 home button
Service 1: P1 back button
Coin 1 & 2: do nothing
Service 2: do nothing
Tilt 1: do nothing
Bindings are simple to redo, I cleaned the code base up quite a bit. Player 3 and 4 can be added but I didn't bother with defining them. Again friendly reminder I am not a programmer and am well aware this could be cleaned up quite a bit. If you're going to comment about the state of the VS project feel free to improve it yourself and put it on github... this is working for what I needed so I am done with this.