Handmade Hero»Forums»Code
4 posts
Logitech Dual Action G-UF13A
Edited by Space on
Hi, I am very new to Handmade Hero and am really enjoying the series.

Im only at 'Day 006 - Gamepad and Keyboard Input'.

Does Casey ever cover how to add support for 'legacy controllers'.?

I only have an old 'Logitech Dual Action G-UF13A' controller that I found stored away in a dusty old box.

Would like to get some success and see it working :D

Anyone know a basic way to get it working that is similar to the way done for 'XInput' shown in the 'Day 006' video?

Thank you,

Space
Simon Anciaux
1337 posts
Logitech Dual Action G-UF13A
Edited by Simon Anciaux on Reason: fixed link
At the moment, Casey hasn't add support for legacy controllers. You can probably use DirectInput to use your controller. A comparison of XInput and DirectInput.
Mārtiņš Možeiko
2559 posts / 2 projects
Logitech Dual Action G-UF13A
Or you can install software that will emulate Xinput API for your legacy controller: https://www.x360ce.com/
4 posts
Logitech Dual Action G-UF13A
mmozeiko
Or you can install software that will emulate Xinput API for your legacy controller: https://www.x360ce.com/


cheers, yea not wanting to use an emulator :)

gots to code it up !! :D
4 posts
Logitech Dual Action G-UF13A
Edited by Space on
mrmixer
At the moment, Casey hasn't add support for legacy controllers. You can probably use DirectInput to use your controller. A comparison of XInput and DirectInput.


I'll take the adventure. Cheers

p.s. the first link is broken
4 posts
Logitech Dual Action G-UF13A
Edited by Space on


I came across the above YouTube, it is not c-style but c++.

I kind of wanted to keep it close to Casey's tradition, all good info however.
Simon Anciaux
1337 posts
Logitech Dual Action G-UF13A
Edited by Simon Anciaux on
Space
p.s. the first link is broken


I fixed it.