Delta Posted May 18, 2008 Posted May 18, 2008 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_cleanupwiiuse_connectwiiuse_disconnectwiiuse_disconnectedwiiuse_findwiiuse_get_by_idwiiuse_initwiiuse_motion_sensingwiiuse_pollwiiuse_read_datawiiuse_resyncwiiuse_rumblewiiuse_set_accel_threshold wiiuse_set_aspect_ratiowiiuse_set_bluetooth_stackwiiuse_set_flagswiiuse_set_irwiiuse_set_ir_positionwiiuse_set_ir_sensitivitywiiuse_set_ir_vreswiiuse_set_ledswiiuse_set_nunchuk_accel_thresholdwiiuse_set_nunchuk_orient_thresholdwiiuse_set_orient_thresholdwiiuse_set_smooth_alphawiiuse_set_timeout wiiuse_statuswiiuse_toggle_rumblewiiuse_versionwiiuse_write_data [size="1"]Please stop confusing "how to" with "how do"[/size]
TnTProductions Posted May 18, 2008 Posted May 18, 2008 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"
ProgAndy Posted May 18, 2008 Posted May 18, 2008 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
James Posted May 18, 2008 Posted May 18, 2008 Tried it myself beforehand and it was pretty hard. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
spudw2k Posted May 19, 2008 Posted May 19, 2008 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. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Delta Posted May 19, 2008 Author Posted May 19, 2008 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now