Jump to content

Wiimote DLL and autoit.


Recommended Posts

I found a dll that would allow Autoit to interface with the Wiimote and vice-versa. However my computer has decided to act retarded again and give me memory reference errors every time I try to use the dll with autoit. I was wondering if anyone wanted to give me a hand on figuring out all the dll calls.

You can get the dll here. http://www.wiiuse.net/

Below are a list of functions.

wiiuse_cleanup

wiiuse_connect

wiiuse_disconnect

wiiuse_disconnected

wiiuse_find

wiiuse_get_by_id

wiiuse_init

wiiuse_motion_sensing

wiiuse_poll

wiiuse_read_data

wiiuse_resync

wiiuse_rumble

wiiuse_set_accel_threshold

wiiuse_set_aspect_ratio

wiiuse_set_bluetooth_stack

wiiuse_set_flags

wiiuse_set_ir

wiiuse_set_ir_position

wiiuse_set_ir_sensitivity

wiiuse_set_ir_vres

wiiuse_set_leds

wiiuse_set_nunchuk_accel_threshold

wiiuse_set_nunchuk_orient_threshold

wiiuse_set_orient_threshold

wiiuse_set_smooth_alpha

wiiuse_set_timeout

wiiuse_status

wiiuse_toggle_rumble

wiiuse_version

wiiuse_write_data

[size="1"]Please stop confusing "how to" with "how do"[/size]

Link to comment
Share on other sites

check out the helpfile to see what is possible to do those functions may not work with autoit

"FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"

Link to comment
Share on other sites

Di d you open the DLL with DLLOpen and then used the handle?

As:

$Wii = DllOpen("wiimote.dll")
$Return = DllCall($Wii,...
;End Of Script / Func OnAutoItExit :
DllClose($Wii)

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

Tried it myself beforehand and it was pretty hard.

I was hoping there'd be an interest for this. The dll stuff is still beyond my expertise so I was hoping a pro would get involved. Seems harder than I thought.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...