Xbox360 controller code

Posted By: TigerTao

Xbox360 controller code - 07/02/08 00:22

Has anyone been able to convert the Xbox360Cntr.dll plugin into Lite-C?

I have no idea how to convert the dllfunction code, which is a pity as my project relys on it.

Many thanks.


Posted By: Futurulus

Re: Xbox360 controller code - 07/02/08 02:20

Have you gotten it to work it already in C-Script? If so, it's easy to convert it to Lite-C; just write "function foo();" instead of "dllfunction foo();". The engine automatically detects dlls in the acknex_plugins folder. More in the manual.

I don't know much about this particular dll, though, so I can't help you if you've already tried that and it didn't work. Most likely problems: the dll isn't specifically designed for acknex use, or it relies on obsolete features like execute() or the old flag-setting method.

Good luck on your project.
© 2024 lite-C Forums