Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Wii-Motes with auto connect...

Author
Message
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 14th Jan 2010 18:52
Hello,
I'm currently wrapping the WiiMoteLib for darkbasic, I know this has already been done but my version supports multiple Wii-Remotes and hopefully will suport and auto connect function.

This function will mean you can connect Wii-Remotes (and accesorys) via bluetooth to your pc (laptop) by simply pressing the 1 and 2 buttons on the Wii-Remote.

To do this I will also be wrapping the WLC.dll which can acces the HID lists ect... needed to auto connect.

It should all work and I currently have all Wii-Mote imput including acceloramters and IR input (note: IR input can be gathered by the use of a wireless sensor bar which cost about £3).

I am currently using the free version of WLC.dll which produces a message box on start and end of your application saying something allong the lines of...

"Your are using the free version of WLC get the full version at http://www.btframework.com/"

obviously this is annoying so to get rid of that I would have to buy the full version which is £130 (OUCH), So here's my main question,

Would people by this dll I am writting and for how much, or do people not mind having an annoying message, or should I just write it for the free version (which i will anyways) and then if people like it we could see about selling a version that doesnt have the messages.

Yours
N3wton

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Jan 2010 20:33
I'd certainly suggest you work out a way of seeing who actually uses your plug-in before you buy the DLL.

Unfortunately, you're pretty much stuck here - other conditions of use are:
Quote: "You can not use demo version for developing free or commercial applications;
You can not use demo version for developing applications for your own needs."


I think those rule out what you are trying to do, although how you are supposed to trial the software without 'developing applications for your own needs' I can't fathom.

N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 15th Jan 2010 00:13 Edited at: 15th Jan 2010 01:38
yer I read that, and I think it means

1 - You can't make software and release it with the demo
2 - You can't make software for yourself that you will use daily (e.g. if you run your own business and wish to use the dll for stuff)

but erm yerh, I'll right the dll and everything using the demo, hopefully by the time I finish we'll see if people would buy it. If they wont I'll remove all the WLC stuff and just release the Wii Part.

I am also looking for a free bluetooth dll if anyone knows of one, the hard part is finding something that will work with all the different bluetooth drivers out there

EDIT
The other option is I code all the bluetooth stuff from scratch, which will take longer... BUT means I wouldnt have to mess around with the WCL dll.

yours
N3wton

Butter fingers
19
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 15th Jan 2010 03:06
Hey Newton.

Just thought I'd post, we've been working with Neurosky at the company I work for and one of the key things we needed to get hold of was a decent bluetooth dll, so we could do auto connect. TBH it's pretty hard to find, and you're going to be better off making it yourself.

With regard to the £130 licence for the DLL, couldn't you write another DLL that opens WCL and runs the function calls? in DB we'd make calls to your DLL, which in turn would query the WCL one? That way you could distribute your "WCL accessing DLL" and the wiimoteones, and then people could download theother one for themselves.

I would personally b very excited to see this, and would very much encourage you to continue with using WCL, be maybe make sure it's sightly separated and can be removed easily.

Having given up on using the other wiimote dlls on here because of the crappy/fiddly/suicide inducing connection thing, this could definately have a market, and if you crack it, I might very well want to licence the bluetooth auto connect stuff off you.

I want robotic legs.
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 15th Jan 2010 11:27
Good idea Butter fingers, I will make my wrapper for the WCL dll and if people want it the download the trial as that would not vialite any licensing ect...

Also I will be writting a WCL wrapper seporate from my Wiimote dll so I get the hang of it and dont mess up any working wiimote code so no doubt i'll be releasing that, then once finished ill add it to the wiimote dll but kepp all comands free of each other so if you dont want the WCL you dont have too.

I am still looking into my own bluetooth, and it doesn't look that hard, just downloading the new windows SDK now as i have version 5 and we're on 7 now

yours
N3wton

Southside Games
15
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 17th Jan 2010 19:39
whare can I get this wiimote dll? that would be so cool to play a game in dark basic witha wiimote!
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 17th Jan 2010 20:48
I havn't released my wiimote dll yet, so nowhere, there are a couple of other evrsions floating around these forums but i dont think either suport multiple wiiremotes

yours
N3wton

N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 20th Jan 2010 17:43
Its not quite ready for a WIP so i thought i'd lob this video here.
This version auto connects with the microsoft SDK, but i havnt got it working with any other radios yet.



Yours
N3wton

Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 20th Jan 2010 18:57
How do you receive the infrared input?

Windows Vista 32-Bit Home Premium Intel Pentium Dual-Core @ 1.46Ghz 2038mb RAM
N3wton
15
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 20th Jan 2010 19:00
IR input can be gathered by the use of a wireless sensor bar which cost about £3 or if you turn your actuall wii on and use that sensor bar or if your sad like me, you use some IR bulbs and abit of usb cable and make a usb powered sensor bar

yours
N3wton

Plotinus
16
Years of Service
User Offline
Joined: 28th Mar 2009
Location:
Posted: 20th Jan 2010 21:42
Yes, the thing a lot of people don't understand about the wiimote is that it doesn't transmit an infra-red signal to the Wii. The sensor bar is not a receiver, it is merely a series of infra-red LEDs. The wiimote has a teeny little camera inside it that perceives the LEDs and works out where it is pointing from that. So you only need the sensor bar for pointing-type functions. Even without a sensor bar or other light source, the buttons and accelerometers in a wiimote work fine, and their input is transmitted to the Wii (or, perhaps, the PC) via bluetooth.

I would certainly be interested in a wiimote plugin that has its own connection abilities and doesn't require the user to run a bluetooth application before using it. That would be great!

Login to post a reply

Server time is: 2025-05-22 03:34:23
Your offset time is: 2025-05-22 03:34:23