Handmade Hero » Forums » Code » Logitech Dual Action G-UF13A
Space
7 posts
#21024 Logitech Dual Action G-UF13A
2 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
mrmixer
Simon Anciaux
633 posts
#21028 Logitech Dual Action G-UF13A
2 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.
mmozeiko
Mārtiņš Možeiko
1943 posts / 1 project
#21030 Logitech Dual Action G-UF13A
2 months, 1 week ago

Or you can install software that will emulate Xinput API for your legacy controller: https://www.x360ce.com/
Space
7 posts
#21042 Logitech Dual Action G-UF13A
2 months, 1 week 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
Space
7 posts
#21043 Logitech Dual Action G-UF13A
2 months, 1 week 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
Space
7 posts
#21044 Logitech Dual Action G-UF13A
2 months, 1 week 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.
mrmixer
Simon Anciaux
633 posts
#21045 Logitech Dual Action G-UF13A
2 months, 1 week ago Edited by Simon Anciaux on May 13, 2019, 9:58 p.m.

Space
p.s. the first link is broken


I fixed it.