Adding control (jump etc.) support

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Wed Oct 14, 2009 7:29 pm

How can I add use controls in my plugin? Xbox pad plugin seems to use SetControlState/GetControlState for that but the SDK does not seem to be up to date in that regard.

I see GetControlVK/GetControlDIK methods but how do I set a control?
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Wed Oct 14, 2009 9:09 pm

you should be able to use set and get controlstate. make sure you have the latest version of the sdk from this board. if it does not have those functions, reply back for instructions on how to update your sdk
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Thu Oct 15, 2009 5:41 pm

The 99.3 SDK is not up to date, but I grabbed the latest Common folder off CVS and it should work now.
B
2
S
1
G
3
Posts: 71
Reputation: 1,142

Post » Thu Oct 15, 2009 7:02 pm

yeah, you only needed a few files from the common folder, but that's probably easier
happy plugging
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests