Jump to content
Sign in to follow this  
Delta

Wiimote DLL and autoit.

Recommended Posts

Delta

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]

Share this post


Link to post
Share on other sites
TnTProductions

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"

Share this post


Link to post
Share on other sites
ProgAndy

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

Share this post


Link to post
Share on other sites
spudw2k

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.

Share this post


Link to post
Share on other sites
Delta

I have tried it with dll open and I still get the same effect windows BS reference errors.


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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.