Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / 360 controller(s)?

Author
Message
prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 19th Mar 2009 22:20 Edited at: 19th Mar 2009 22:41
I can use the built in dgdk commands well, but there isn't a function for more than 1 controller or more of the buttons (bar the face buttons) that I can find. ATM, all I can use is one analogue stick, the dpad, the face buttons ABXY and LR. Could I use directx functions to do it? or would I need a dll?

EDIT: I found XInput, seems to be what I'm looking for.
entomophobiac
21
Years of Service
User Offline
Joined: 1st Nov 2002
Location: United States
Posted: 20th Mar 2009 10:34
Tadam: http://www.codeproject.com/KB/directx/xbox360_cont_xinput.aspx

Extremely easy to implement and superbly commented.

Login to post a reply

Server time is: 2024-09-30 21:20:14
Your offset time is: 2024-09-30 21:20:14