Register
Handmade Hero»Forums»Code»Logitech Dual Action G-UF13A
7 posts
Logitech Dual Action G-UF13A
6 months, 1 week ago Edited by Space on May 10, 2019, 12:22 p.m.
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
680 posts
Logitech Dual Action G-UF13A
6 months, 1 week ago Edited by Simon Anciaux on May 13, 2019, 9:57 p.m. 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
1983 posts / 1 project
Logitech Dual Action G-UF13A
6 months, 1 week ago
Or you can install software that will emulate Xinput API for your legacy controller: https://www.x360ce.com/
7 posts
Logitech Dual Action G-UF13A
6 months ago
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
7 posts
Logitech Dual Action G-UF13A
6 months ago Edited by Space on May 13, 2019, 9:35 p.m.
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
7 posts
Logitech Dual Action G-UF13A
6 months ago Edited by Space on May 13, 2019, 9:47 p.m.


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
680 posts
Logitech Dual Action G-UF13A
6 months ago Edited by Simon Anciaux on May 13, 2019, 9:58 p.m.
Space
p.s. the first link is broken


I fixed it.