|
|
|
|
|
|
|
|
|
|
|
|
|
|
SGT_FW
by Aku_Aku. 05/31/26 11:05
|
|
|
|
|
3 registered members (VoroneTZ, TipmyPip, 1 invisible),
5,669
guests, and 5
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Wii_mote
[Re: Sajeth]
#340504
09/04/10 18:58
09/04/10 18:58
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Der einzige für den es gerade peinlich wird ist der über mir.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
Re: Wii_mote
[Re: FBL]
#340508
09/04/10 19:57
09/04/10 19:57
|
Joined: Apr 2007
Posts: 3,751 Canada
WretchedSid
Expert
|
Expert
Joined: Apr 2007
Posts: 3,751
Canada
|
Ich bezweifle dass das geht, denn es sind ja Plugins deaktiviert. Allerdings könnte er die Funktionen auch einfach per WinAPI beziehen, vorausgesetzt sie wurden exportiert.
// Funktions Prototypen
var wiimote_getdevices();
var wiimote_connect(var dev_index);
var wiimote_disconnect(var handle);
void foo()
{
long dllHandle = LoadLibrary("ackwii.dll");
wiimote_getdevices = GetProcAddress(dllHandle, "wiimote_getdevices");
wiimote_connect = GetProcAddress(dllHandle, "wiimote_connect");
wiimote_disconnect = GetProcAddress(dllHandle, "wiimote_disconnect");
}
Danach sollte man die Funktionen ganz normal aufrufen können. Die ackwii.dll muss dafür aber im Ordner des Projekts sein.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com
|
|
|
|
|
|
|