Wiimote Project

Wiimote Projects => Wiimote Interactive Whiteboard => Wiimote Smoothboard => Topic started by: boonjin on June 02, 2008, 09:35:33 PM

Title: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 02, 2008, 09:35:33 PM
I have released the Smoothboard (http://www.smoothboard.net) software that is targeted at actual use in lessons and presentations with the focus of ease-of-use.

Smoothboard (http://www.smoothboard.net) now comes with built-in annotation feature, quick access toolbar and more for all your interactive whiteboard needs.

Smoothboard (http://www.smoothboard.net) can be downloaded from http://www.smoothboard.net



Following from benpaddlejones request,
http://www.wiimoteproject.com/project-ideas/mouse-smoothing-a-new-challenge-for-the-programmers-t1003.0.html (http://www.wiimoteproject.com/project-ideas/mouse-smoothing-a-new-challenge-for-the-programmers-t1003.0.html)
I have modified Johnny Lee's Wiimote Whiteboard 0.2 to incorporate the mouse smoothing effect. This feature enhances the smoothness when drawing with an infrared pen.

I have followed the method used in the Java version of Wiimote Whiteboard by averaging out the past values of the click coordinates.


[youtube]http://www.youtube.com/v/i0dXCuJ6aas[/youtube]

(http://www.boonjin.com/files/wiimote/whiteboard/smoothing/smoothing.jpg)


Comparison of the original without smoothing with the new smoothing feature

(http://www.boonjin.com/files/wiimote/whiteboard/smoothing/whiteboard%20with%20smoothing.jpg)
Smoothing can be enabled/disabled and also the number of past points to average out can be chosen.

Update:
I have made the app to save the user settings for the smoothness so that the settings can be loaded in the next run. The settings are saved in calibration.bat.

Update on 7th June 2008:
Cursor control did not function in Vista 64bit.
I have followed the solution by takai which can be found here:
http://www.wiimoteproject.com/wiimote-whiteboard/vista-issues-with-mouse-control-in-wiimotewhiteboard-02-onwards-solved-t1026.0.html (http://www.wiimoteproject.com/wiimote-whiteboard/vista-issues-with-mouse-control-in-wiimotewhiteboard-02-onwards-solved-t1026.0.html)


Download source codes and executable here:
http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard (http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard)

Note: I have developed a more functional version of the wiimote whiteboard. Multiple Wiimote support, outside screen toggles(right click, double click, keyboard presses, launch files), partial screen area calibration, calibration viewer, IR sensitivity settings etc.

Wiimote Smoothboard:
http://www.smoothboard.net (http://www.smoothboard.net)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 02, 2008, 10:04:20 PM
Success

Just tried on the whiteboard at school, very impressed!

Benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: takai on June 03, 2008, 08:56:12 AM
Can you please post up the source for this, even in its unpolished state.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 03, 2008, 10:29:58 AM
Can you please post up the source for this, even in its unpolished state.

Hi! I have just uploaded the source codes.

You can get it from here
http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard (http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: Der Wichtel on June 03, 2008, 05:48:23 PM
Somehow it does not work with Windows Vista.

I can calibrate and the programm can see the dots but the mouse doesn't move.
But I have the same problem not only with your version but on the original 0.2 version as well.

Can you please have a look on this problem?
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 03, 2008, 06:11:02 PM
Der Wichtel
If you can connect and get to the calibration stage, then the issue is more likely your IR source.

If you click the 'A' button on your wiimote and you go to the calibration page then the Wiimote is connected and working. so try:

Before the calibration stage with the(http://www.boonjin.com/files/wiimote/whiteboard/smoothing/whiteboard%20with%20smoothing.jpg) dialogue box click your pen if the wiimote can detect your pen. If it does next to "Visible IR Dots" it will show a count of how many IR sources it can detect. You may need to use various distances position to check this. (try waving in front of wiimote and spiriling out).

Check http://www.wiimoteproject.com/ir-pens/electronics-101-sharing-my-mistakes-updated-t834.0.html (http://www.wiimoteproject.com/ir-pens/electronics-101-sharing-my-mistakes-updated-t834.0.html) to see if your IR source is suitable.

Let me know what your find.

benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: takai on June 03, 2008, 08:33:30 PM
Ive had issues with the WiimoteWhiteboard 0.3 (written and posted by someone else) under Vista.

Ill give this version a go when i get home, but seeing as i can run Johnny Lees 0.2 and this seems to be a relatively minor modification, i cant see why it wouldnt work.

Maybe try pointing the IR pen at the camera directly to test.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: Der Wichtel on June 04, 2008, 12:25:41 PM
Der Wichtel
If you can connect and get to the calibration stage, then the issue is more likely your IR source.

If you click the 'A' button on your wiimote and you go to the calibration page then the Wiimote is connected and working. so try:

Before the calibration stage with the(http://www.boonjin.com/files/wiimote/whiteboard/smoothing/whiteboard%20with%20smoothing.jpg) dialogue box click your pen if the wiimote can detect your pen. If it does next to "Visible IR Dots" it will show a count of how many IR sources it can detect. You may need to use various distances position to check this. (try waving in front of wiimote and spiriling out).

Check http://www.wiimoteproject.com/ir-pens/electronics-101-sharing-my-mistakes-updated-t834.0.html (http://www.wiimoteproject.com/ir-pens/electronics-101-sharing-my-mistakes-updated-t834.0.html) to see if your IR source is suitable.

Let me know what your find.

benpaddlejones


Hi. Calibration works perfekt and it shows me 1 dot. Besides the 0.1 Version works as well very good just not as good as yours with smoothing. So it has to do something with the codechanging from 0.1 to 0.2.

The pen just does not move ( tried both cursor  control checked and unchecked.

thank you for your help
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 04, 2008, 02:49:36 PM
Boonjin
Does your app need the wiimotelib.dll to be present in the folder with it?

I just put you app next Johnny's so the wiimotelib.dll was already there?

Wondering if this could be Der Wichtel issue?

Benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: Der Wichtel on June 04, 2008, 03:09:01 PM
I have put the dll into the folder but still the same problem.
However if I use the version in the folder bin --> windowsxp it is working. If I put your exe or the original  Wiimote Whitboard.exe from the main folder they are still not working.
So the version in the bin/windowsxp folder must be different ....
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 04, 2008, 08:19:10 PM
hm...I'm not sure what's the cause of your problem. Like you said it may be due to the code change of the mouse simulation from 0.1 to 0.2. I have not tested with a Vista machine yet.

Anyone here have successfully use 0.2 or 0.2 with smoothing on vista?
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: takai on June 05, 2008, 09:37:04 PM
Im using 0.2 with vista, will check 0.2 with smoothing now.

EDIT: no cursor control under vista with 0.2 smoothing. Checking code now.
EDIT2: From what i can see its a problem with how it disposes of the Calibration form. Basically its calling the dispose function from a second thread which causes vista to spit, but when you run the compiled program you cant see that.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: sebbel on June 06, 2008, 03:25:33 AM
Thank you so much for that version boonjin.

It worked just fine for me and I was able to use it in some presentations already. Well done and great work!
As you are more experienced with the Whiteboard than I am.. Is there a possibility to have an IR Pen which has a bigger range as the regular ones?

I'd love to just point with my pen on the whiteboard from 5-6 meters away.
Do you think thats possible?
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: takai on June 06, 2008, 04:43:59 AM
Hm, just realised its a problem with 0.2, i thought i was using 0.2 but i was using 0.1
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 06, 2008, 04:45:25 AM
Thank you so much for that version boonjin.

It worked just fine for me and I was able to use it in some presentations already. Well done and great work!
As you are more experienced with the Whiteboard than I am.. Is there a possibility to have an IR Pen which has a bigger range as the regular ones?

I'd love to just point with my pen on the whiteboard from 5-6 meters away.
Do you think thats possible?

Hello! Glad that you have tested this version.
I am actually a new wiimote whiteboard user. I just made the IR pen only more than a week ago. I have actually not tested it on a real projector yet. :)

For your suggestion, I think it will be difficult because the usual IR pen does not act like a laser which is unidirectional. The IR diode will spread the IR at a considerably big angle. Another problem will be that the IR is invisible to our human eye. So you will not be knowing where you are pointing.

 Maybe there are other methods available like using a red laser pointer with a hi resolution webcam.

I will try to think of other solutions such as using an additional wiimote at the screen facing the user.

Thanks for your suggestion!
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 06, 2008, 05:57:05 AM
Hm, just realised its a problem with 0.2, i thought i was using 0.2 but i was using 0.1

Maybe we should try comparing the changes of the code from 0.1 to 0.2?
As a temporary measure for vista users, maybe we can just place the mouse emulation code from Johnny's 0.1 into the 0.2 with smoothing.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: takai on June 06, 2008, 05:59:34 AM
The problem is within the mouse down code for 0.2, and all of the new editions display it.

The reason not everyone is having the issue with 0.2 is that its x64 specific. Basically the offset in the INPUT struct is offset by the size of the pointer, which in x64 is 8bits rather than 4bit.

Ill start a new thread regarding it.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: thex on June 06, 2008, 06:47:31 AM
[youtube]http://de.youtube.com/watch?v=A2EeArfPhW4[/youtube]

works here with vista and 0.2 with smoothing
stack is ms vista std stack
connection established with my wiimote connect software

thex
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 07, 2008, 04:53:33 AM
I have just followed takai's method in solving the issue for vista 64bit users.
It works well with my system (win xp 32bit). I'm not sure about the rest, but if anyone have issues or successfully run this version, please post here.

Many thanks to takai!

Source code and executable here:
http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard (http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 08, 2008, 02:59:56 AM
Is there a possibility to have an IR Pen which has a bigger range as the regular ones?

I'd love to just point with my pen on the whiteboard from 5-6 meters away.
Do you think thats possible?

Ask your question in Tech Chat or Project Ideas as a NEW topic you will get more responses from the Hardware experts.

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: thex on June 08, 2008, 06:39:48 AM
yes this is possible but it is off topic

you can use an ir laser to point at the screen. you can find these in optical laser mouses.

thex
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: Omri on June 14, 2008, 05:58:52 PM
Thanks a lot!
at last I managed to actually use the WiiMote I bought.
Tomorrow I will use it in class.

Thanks again, and I don't want to bother you more, but is there any chance you can make the VR Display work as well in the same method?
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 14, 2008, 06:20:02 PM
Thanks a lot!
at last I managed to actually use the WiiMote I bought.
Tomorrow I will use it in class.

Thanks again, and I don't want to bother you more, but is there any chance you can make the VR Display work as well in the same method?

Do you mean the smoothing effect? I have not used the VR display thing before but I might try it soon.
Thanks for your feedback. :)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: jeremy9983 on June 17, 2008, 06:18:55 PM
Hey boonjin, great job on implementing the smoothing in Johnny Lee's app.  It makes a really significant difference. I've got a request of a feature that I think would be pretty useful.

I know you've already developed the stand alone app to handle right clicking, where you can toggle which click you would like to use, but how about integrating a right clicker into the whiteboard app?

I remember reading about the Java version that someone else was working on and they said they implemented right clicking by using a timer.  So basically, if someone holds down the left click for one second at the same position, it would perform a right click instead. 

I guess you would have to use the previous few points and take an average to make sure they weren't clicking and dragging (a little movement is to be expected, so there may be some threshold values to play around with). 

I can't think of too many times where you need to perform a left click and hold it down without moving the cursors position, so it seems like it should work pretty well.  This way you wouldn't have to have a separate app, and you wouldn't have to constantly toggle between left and right clicks. 

I was playing starcraft on my projected whiteboard the other day, and I really wish I had an easy right click  :D  If I could code better I would definitely try it myself. 

It would be nice if you got to toggle on/off the right click functionality as well like you do the cursor control, and maybe have a drop down box to select the wait time to perform the right click (.5 seconds, 1 second, 2 seconds.)

If you don't have the time or such it's understandable, but I think this would be a neat little addition that would greatly increase the functionality without making any changes to the hardware.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 17, 2008, 08:14:06 PM
Actually I have been developing a hardware based solution but its a bit difficult to set up. By using a microcontroller which blinks the IR diode at a certain pattern depending on which button was pressed, I have managed to use the software to differentiate the clicks.

For example, I can now right click and left click with two different buttons. However, it is still very messy and too huge for a pen. :)

For your suggestion, I think it will be an easier solution. Furthermore, benpaddlejones has already suggested to me to integrate the right clicking function into Johnny Lee's app.

A problem with the click and hold solution will be, should the software wait for a delay before left clicking every time? Cause currently, when an light source is found, the software will left mouse down immediately. As long as the light source is present, the left click will be held down.

If we modified the program to wait for a right click in just say 1second, we have some problems with the left click also.

What do you think?

Maybe another solution is also clicking outside the screen area (where the wiimote still tracks). I saw this method implemented somewhere before.

Thanks for your suggestions!
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 17, 2008, 08:42:30 PM
Boonjin
I think integrating your rightclicker with your whiteboard smoothing is all you need.

Right click is only used occasionally and having to click down on the windows taskbar before right clicking is no big deal.

The clickhold at one location in other apps requires a hold for 5 sec, clicking down on the taskbar then next click is a right click in quicker!

Plus the programming is mostly done, just need to fix Onenote/Powerpoint pen probs then all good.

Benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: baconismidog on June 18, 2008, 05:43:35 PM
I think that the "Click off screen" would be a good option - actual use would be similar to clicking on the little pen in the taskbar but you could go to any edge of the screen, not just the bottom right edge and you would not have to be as accurate.

Just my 2 cents - but I do like the right clicker as it is too ;)

B
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 18, 2008, 08:37:35 PM
I am now trying to port over the rightclicker into the whiteboard.

Since different people might have different choices in the rightclicking option, maybe I will slowly add the various different methods into the WiimoteWhiteboard.

Keep the suggestions coming. :)

Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 18, 2008, 08:46:08 PM
Boonjin
Yes I think choice is the best option. Gives most functionality.

Start with:
a) Taskbar icon
b) Outside screen parameters

Then if poss add the click hold option, I suume will need a lot more programming than the above.

Benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 18, 2008, 08:49:58 PM
Thanks
Will try to work on this as fast as possible :)

Any more quick changes needed?

Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 18, 2008, 09:05:17 PM
Boonjin
1. Make sure rightclicker works in Onenote & Powerpoint Pen mode.

2. Maybe a way to quickly bring up the "On Screen Keyboard" already part of Windows, but a way to make it easily accesible would be good, maybe a button next to rightclicker on the taskbar that opens Keyboard. (without having to scoll through Start Menu of find shortcut on the desktop)

Plus still think given you have evolved well beyond Johnny's app you need a name for your program to give you some ownership.

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 18, 2008, 09:15:04 PM
Hopefully it works for powerpoint using C#.net
Previously I have tried several methods but unfortunately when I have managed to get it to work in powerpoint, the app will fail in the normal windows desktop.

Maybe you could help to name the new version? :)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 20, 2008, 09:51:16 PM
Boongin
Awesome!!!

Works in Onenote & powerpoint 2007 with Win XP32bit

No keyboard though?

benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 20, 2008, 10:30:02 PM
Boongin
Awesome!!!

Works in Onenote & powerpoint 2007 with Win XP32bit

No keyboard though?

benpaddlejones

Great!
The keyboard does not activate? Its accessible through the menu at the system tray icon.

Here is the link to the test version for others to test the Wiimote Whiteboard 0.2.2 BETA :)
http://www.boonjin.com/wp/2008/06/19/wiimote-whiteboard-022-beta (http://www.boonjin.com/wp/2008/06/19/wiimote-whiteboard-022-beta)
Please feedback whether it works. Thanks!
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 21, 2008, 01:52:58 AM
Boonjin
Found it!

Can the entire program minimise to the system tray? So after calibration, minimise to system tray, have a 'Maximise' option with 'Exit' & 'Keyboard'. (A 'Calibrate' Option in this menu would be good too.)

This means one less icon on taskbar, especially when once calibrated there is no need to access the program except to exit, if there is a need user can just leaves application maximised, or select 'Maximise' from system tray?

Not sure if an issue but I only got the click out of active area to work on the left side? Is this standard?

Finally I think you should put a post up on calling for others ideas to make Wiimote Smooth Board more functional.

Given the three options to rightclick are awesome, I actually find it quicker than than the clickhold , I don't see a reason to waste your time trying to program for the click hold option!

A customised Icon could finishes the presentation of your application off, I was thinking this Icon could be also what displays in the system tray until clicked when turns to your "R" icon.

The final two steps are a Help file (I can help with this during school holidays in a few weeks) and a Connection Tool.

Given http://www.infraredpens.com (http://www.infraredpens.com) are now selling pre-fab IR-Pens I think the Wiimote Whiteboard is about to get bigger! (I've emailed them hoping they are using a VISHAY TSAL6400 or similar quality IR-LED so we know works 100%).

EXCITING TIMES AHEAD MY FRIEND ;D

Benpaddlejones
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 21, 2008, 03:36:40 AM
Quote

Can the entire program minimise to the system tray? So after calibration, minimise to system tray, have a 'Maximise' option with 'Exit' & 'Keyboard'. (A 'Calibrate' Option in this menu would be good too.)

This means one less icon on taskbar, especially when once calibrated there is no need to access the program except to exit, if there is a need user can just leaves application maximised, or select 'Maximise' from system tray?

Yea I will try to do that.
Maybe I will create another icon for the application itself. To differentiate with the toggle modes icon.

Quote
Not sure if an issue but I only got the click out of active area to work on the left side? Is this standard?

Finally I think you should put a post up on calling for others ideas to make Wiimote Smooth Board more functional.

Sure! We can create a new topic together soon.

Hm...The click outside screen area should be also on the other sides. Maybe this is due to your wiimote being calibrated without much extra tracking area outside the screen. We will have to test this feature more.
Quote
Given the three options to rightclick are awesome, I actually find it quicker than than the clickhold , I don't see a reason to waste your time trying to program for the click hold option!
I myself found it so easy to right click now. :)

Quote
A customised Icon could finishes the presentation of your application off, I was thinking this Icon could be also what displays in the system tray until clicked when turns to your "R" icon.

Any idea what the icon should contain?

Quote
The final two steps are a Help file (I can help with this during school holidays in a few weeks) and a Connection Tool.

Given http://www.infraredpens.com (http://www.infraredpens.com) are now selling pre-fab IR-Pens I think the Wiimote Whiteboard is about to get bigger! (I've emailed them hoping they are using a VISHAY TSAL6400 or similar quality IR-LED so we know works 100%).

EXCITING TIMES AHEAD MY FRIEND ;D

With an detailed Help file online and within the application, in addition to the ready made irpens, I am sure that this will be exciting. :)

If possible, we can set up a collaboration with the irpen makers to guide users to set up the hardware and software.

Boon Jin
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: UndCon on June 21, 2008, 05:30:18 AM
I added theese icons to my apps so they looks nice on the desktop

(http://undcon.com/mods/wiimote/wiimote_icons.jpg)

original Whiteboard and modified Whiteboard for the 2 icons
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 21, 2008, 08:24:34 PM
Boonjin
Something like Undcons icons look good.

Had a brainstorm this morning that will not only help identify the click outside viewable area but will also act as a valuable diagnostic and wiimote placement assistant.

In Jason Smiths http://jasonlpsmith.googlepages.com/wiimotepresenter (http://jasonlpsmith.googlepages.com/wiimotepresenter) there is a window, this window has a visual representation of the location and strength of a detected IR-Blob.

My idea is to have at the bottom of your application a similar window representing the full tracking area. Once calibrated four black dots are represented showing the calibration dots or a retangle representing the screen area inside the tracking area. Then as with Jason's app if a strong IR-Blob is detected a small red cross appears in that location and a small blue cross if its a weak IR-Blob.

As said this would be awesome to assist in accurate wiimote placement and let the user know with their current calibration were the side space is. Plus act as a diagnostic to help them identify the best angle to palce the Wiimote for their writing style.

The tracking utilisation percentage can then be under this window and will mean more to lay-users. Jason has the source code on his site so should save re-inventing the wheel.

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 22, 2008, 12:22:12 AM
Hi Ben,
I have just exactly the same idea this morning regarding the tracking utilization.
I am planning to make it show a rough display of the screen area within the whole Wiimote tracking area.
This will allow the user to perform some adjustments to the Wiimote to achieve higher tracking utilization.

Currently, I have succeeded using Brian Peek's WiimoteLib 1.4 instead of the previous 1.2 which Johnny has used.
With this, I have created an advanced settings screen that allows the user to choose the IR camera sensitivity settings.
For example, if the IR source used is too weak, the user can increase the sensitivity at the expense of errors caused by other IR sources (sun light).  And also, if the classroom has some sun light coming in, the user can decrease the IR sensitivity.

I am adding a whole bunch of features such as auto start in windows (option to enable or disable) and triggering different modes depending on which section of the screen is pressed (customizable). For example, the user can make the application execute the On Screen Keyboard by clicking the bottom right side of the screen.

I am trying to make the app to work in the background waiting for a wiimote to be connected. Hopefully, it will then automatically connect the connected Wiimote once the Wiimote is available. If this can be done, the user do not have to manually execute the application (if the user has enabled the app to autostart with windows).

Regarding the waek IR-blob detection through the window, in our situation it might be more difficult. However, I might try to look at it on how to apply it to the whiteboard.

Boon Jin
PS: looks like we are 'high' on ideas.
:)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 22, 2008, 01:03:33 AM
Boonjin
Awesome!

I'm pretty sure Jason's does the IR-Blob strength thing, maybe check his source code.

While on the topic of Jason's app, can you integrate similar key stroke options on yours?

Thinking two modes.
Mode A: (Wiimote Smooth Board) As you are already doing
Mode B: (Wiimote Smooth Presenter) User can program any buttons on Wiimote to execute any keystrokes or multiple key strokes. (basically all the functions of Jason's app just integrated into yours when in Mode B).

I use both yours and Jason's Apps, I find when flicking between the two it can crash both and Bluetooth connection, thus I need to reconect and start again. This would allow users to easily flick between the two as in the same application.

I know many Primary teachers love to use Google Earth and I think Jason's app is really cool at exploring Google Earth. One program that does both makes everything easy.

Benpaddlejones
p.s. love the sound of easy connect, will make process a whole lot easier.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: Frenchy on June 22, 2008, 12:57:45 PM
Hello,
What a nice job you've done so fast Boonjin !

I agree with Benpaddlejones : teachers like me love to work with Google Earth and it would be so nice of you to add a scrolling option (outside screen control) to make a zoom, as you can see in this app http://fuelnatchos.webng.com/gtkwhiteboard/ (http://fuelnatchos.webng.com/gtkwhiteboard/).

As a wiimote whiteboard user i find double-click assistance very useful too (it works great with the java app http://www.uweschmidt.org/wiimote-whiteboard (http://www.uweschmidt.org/wiimote-whiteboard)).

Frenchy from France
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: chadepp on June 23, 2008, 05:02:38 PM
Hello,
  First of all I wanna say thank you to Johnny Lee for realizing the potential of the wiimote to do something like this whiteboard.  Secondly, thank you to Boonjin for building upon what Johnny had done, and to Benpaddlejones for his video that showed all the usefulness of the wiimote whiteboard and for his input to making Boonjin's app better.
  I tried the WW 0.2.2 Beta, and I like all the features it offered.  I just tried in on my office crt computer monitor, and I plan to try it using the projector later on.  We don't have Microsoft OneNote installed with our copy of Office 2007, so I'm sorry to say that I don't have any insight on it's functionality with WW 0.2.2 Beta. 
  However, I did a demonstration for some people at my office using WW 0.2 (i believe) and they were thoroughly impressed.  I work for an Architect office, and the guys could already see where this would come in handy using it for meetings with clients and contractors, editing the plans on pdf using Adobe Acrobat Pro's editing features during the meeting, saving the pdf (along with edits made) and emailing it right away to those who need it.  I'm still trying to think of how to effectively use the Whiteboard with AutoCAD so that we can make changes to the plans right there.  I guess we're just going to have to work with what we got.
  Thanks again very much!
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 23, 2008, 07:20:20 PM
Hello guys,

I will be trying to make the outside screen area to trigger a click, keyboard press for shortcuts or executing application. With all these features combined, it will allow the whiteboard to be customizable to suit a variety of environments. I think it would be something similar to the gtkwhiteboard.

chadepp, Frenchy, ben
Thanks for the feedback!
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on June 23, 2008, 09:05:12 PM
Boonjin
Can you make the Wiimote Keys programable too?

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2.2 beta
Post by: sts70nl on June 25, 2008, 01:09:24 PM
0.2.2 BETA works like a charm on:
- vista business
- OneNote 2007
- Powerpoint 2007
- Hand writing recognition

The right click function is very useful and easy to use.

On a regular basis I give presentations and workshops.  There is a need to switch from Powerpoint to some other program and back.  This must be done through ALT-TAB.

REQ: ALT-TAB FUNCTION
2-clickable areas. Mouse click on one area (preferably in the same form as right click) toggles ALT-TAB (with alt continued to be pressed), clicking more on this are triggers an TAB.  Clicking on the other area releases the TAB.
or,
3-clickable ares. Same as above, but with the 3th area providing SHIFT-TAB.

To make it really nice. A check mark will turn the ALT into Windows-key.




Kind regards

Stefan van Aalst
Title: Re: Smoothing for Wiimote Whiteboard 0.2.2 beta
Post by: boonjin on June 25, 2008, 08:03:18 PM
0.2.2 BETA works like a charm on:
- vista business
- OneNote 2007
- Powerpoint 2007
- Hand writing recognition

The right click function is very useful and easy to use.

On a regular basis I give presentations and workshops.  There is a need to switch from Powerpoint to some other program and back.  This must be done through ALT-TAB.

REQ: ALT-TAB FUNCTION
2-clickable areas. Mouse click on one area (preferably in the same form as right click) toggles ALT-TAB (with alt continued to be pressed), clicking more on this are triggers an TAB.  Clicking on the other area releases the TAB.
or,
3-clickable ares. Same as above, but with the 3th area providing SHIFT-TAB.

To make it really nice. A check mark will turn the ALT into Windows-key.


Kind regards

Stefan van Aalst

Hi Stefan,
Thanks for the invaluable feedback!
I have already successfully implemented the customizable toggles which triggers when the user 'click's outside the screen area.
The current options are,

I have just tested the application with the ALT+TAB and it works. However, currently I have not added a hold feature. I will try to do this feature, as my current priority is the ease of use. :)

The user interface now is abit messy and have some bugs. This is due to the complexity of the user settings required. Once I am satisfied with this, I will release it for testing.


Boonjin
Can you make the Wiimote Keys programable too?

Benpaddlejones :-)
Ben,
Since the application already supports programmable settings, I think it won't be difficult to add this feature. I might add this in the next version.

Thanks for all your suggestions!

Regards,
Boon Jin
Title: Re: Smoothing for Wiimote Whiteboard 0.2.2 beta
Post by: sts70nl on June 26, 2008, 12:58:14 AM

Hi Stefan,
Thanks for the invaluable feedback!
I have already successfully implemented the customizable toggles which triggers when the user 'click's outside the screen area.
The current options are,
  • Mouse Click - Right Click , Double Click
  • Keyboard Presses - 3 key combinations (e.g. ALT+TAB and CTRL+C)
  • Launching Files/Applications - any files can be launched (movie files,JPEG, EXE, batch files, custom made applications)

I have just tested the application with the ALT+TAB and it works. However, currently I have not added a hold feature. I will try to do this feature, as my current priority is the ease of use. :)

The user interface now is abit messy and have some bugs. This is due to the complexity of the user settings required. Once I am satisfied with this, I will release it for testing.


Boonjin
Can you make the Wiimote Keys programable too?

Benpaddlejones :-)
Ben,
Since the application already supports programmable settings, I think it won't be difficult to add this feature. I might add this in the next version.

Thanks for all your suggestions!

Regards,
Boon Jin

Boon Jin,

Unlike you, I'm a Sunday programmer.  Last night I managed to get working the functionality I had in my mind in Excel using VBA.

Private Sub CommandButton1_Click()
    'triggering ALT-SHIFT-TAB and keep ALT pressed

    keybd_event &H12, 0, 0, 0
    keybd_event 16, 1, 0, 0
    keybd_event &H9, 1, 0, 0
    'Strangly SHIFT must be released seperately otherwise it continues to be pressed
    keybd_event 16, 0, 2, 0
    DoEvents
End Sub

Private Sub CommandButton3_Click()
    'triggering ALT-TAB and keep ALT pressed
    keybd_event &H12, 0, 0, 0
    keybd_event &H9, 1, 0, 0
    DoEvents
End Sub

Private Sub CommandButton4_Click()
    'release of the TAB
    keybd_event &H12, 0, &H2, 0
    DoEvents
End Sub


It does what it needs to be done; ALT-TAB'ing where ever you want and if you go a bit too far, because the release of ALT is a separate button ALT-SHIFT-TAB can be used as well. Although I find it a bit slow.

Stefan van Aalst

Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on June 28, 2008, 01:16:36 AM
I have just finished making the Wiimote Smooth Board.

The new topic thread here:
http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-01-beta-t1115.0.html (http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-01-beta-t1115.0.html)

Thanks everyone for all the ideas!

Now we need to do tonnes of testing
:)

Regards,
Boon Jin
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: eSephiroth on July 06, 2008, 11:12:17 PM
It is excellent. you done a great job to improve the Wiimote Whiteboard.
But when I use evernote evernote.com (http://evernote.com), to draw  a line and then start another line, it links back to the original one.
evernote is a freeware for note taking, including text recognition and some other functions that I use a lot in my tablet PC. but it seems it doesn't work with Wiimote Whiteboard. could you help to figure out how can I make it work properly?
Thanks so much
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 08, 2008, 12:59:45 AM
It is excellent. you done a great job to improve the Wiimote Whiteboard.
But when I use evernote evernote.com (http://evernote.com), to draw  a line and then start another line, it links back to the original one.
evernote is a freeware for note taking, including text recognition and some other functions that I use a lot in my tablet PC. but it seems it doesn't work with Wiimote Whiteboard. could you help to figure out how can I make it work properly?
Thanks so much

Hi eSephiroth,
I will try out the evernote software and test.

Btw, did you try using the Wiimote Smooth Board 0.1
http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-01-beta-t1115.0.html (http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-01-beta-t1115.0.html)

Thanks for your feedback

Boon Jin
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: eSephiroth on July 08, 2008, 09:47:36 AM
no, the 0.1 version is also don't work. but I found the version 0.1 is more powerful than the 0.2, it is surprise.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 08, 2008, 09:54:46 AM
no, the 0.1 version is also don't work. but I found the version 0.1 is more powerful than the 0.2, it is surprise.


Wiimote Smooth Board 0.1 is actually a newer version. :)

I have just installed Evernote. Where is the option to draw the line?

Thanks
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: eSephiroth on July 09, 2008, 11:36:06 AM
you will see a T/G logo on top left of each note, click it and you can change from text edit mode to drawing mode. Thanks for you kind help.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 09, 2008, 12:15:57 PM
It is excellent. you done a great job to improve the Wiimote Whiteboard.
But when I use evernote evernote.com (http://evernote.com), to draw  a line and then start another line, it links back to the original one.
evernote is a freeware for note taking, including text recognition and some other functions that I use a lot in my tablet PC. but it seems it doesn't work with Wiimote Whiteboard. could you help to figure out how can I make it work properly?
Thanks so much

you will see a T/G logo on top left of each note, click it and you can change from text edit mode to drawing mode. Thanks for you kind help.


Hm...I cant seem to recreate your problem.
I can draw lines in the 'shape' mode and also normal drawing mode.
Is there any specific line drawing mode you are using?

I have tested Evernote 3.0.0.625 with both Wiimote Smooth Board 0.1 and Wiimote Whiteboard with smoothing.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: eSephiroth on July 12, 2008, 05:42:21 AM
no, it still don't work for me, I am using the same version as you do. except for I am using chinese windows Xp, I am not sure whether it affect it.
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on July 13, 2008, 05:11:54 AM
eSephiroth
Run Windows update, select 'Custom' update. Once it has finished scanning make sure you have selected all updates inlcuding optional & hardware.

Maybe an older version of XP or C++?

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 13, 2008, 05:14:44 AM
Hey ben,
thanks for the help in troubleshooting :)
I am writing the documentations of the Wiimote Smooth Board 0.2.
Will release it in the next few hours.

Boon Jin
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on July 13, 2008, 05:25:07 AM
Awsome!

It's school holidays & I'm doing a drive by school tomorrow to pickup my wiimote to test, so look forward to it.

Ben :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 13, 2008, 05:42:07 AM
Awsome!

It's school holidays & I'm doing a drive by school tomorrow to pickup my wiimote to test, so look forward to it.

Ben :-)

Do you have an extra wiimote? It works well here especially if both wiimotes are placed at the same side but at different angles. :)

Boon JIn
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on July 13, 2008, 05:51:06 AM
Boonjin
Only 1 (don't actually own a Nitendo Wii). My natural whiteboard style never has a problem with only 1 Wiimote. I know primary teachers have more of a problem as students use the whiteboard more and they tend to block the wiimote.

I will try to borrow one of a friend to test but may take a few days.

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 13, 2008, 08:23:06 AM
Boonjin
Only 1 (don't actually own a Nitendo Wii). My natural whiteboard style never has a problem with only 1 Wiimote. I know primary teachers have more of a problem as students use the whiteboard more and they tend to block the wiimote.

I will try to borrow one of a friend to test but may take a few days.

Benpaddlejones :-)

Hm...other than the multiple wiimotes support, the difference with the older version is the partial screen calibration. It will only be useful in certain situations. :)

I havecompleted the documentations for the Wiimote Smooth Board 0.2

You can go to my website: http://www.boonjin.com/wp/2008/07/13/wiimote-smooth-board-02-beta
or go to the Wiimote Smooth Board thread: http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-0-1-beta/
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on July 14, 2008, 09:29:29 AM
Boonjin
Firstly: BRILLIANT!!!

Love the partial screen tracking area, really cool for primary teachers who want to limit to a specific application. The option for cursor motion is also awesome, again something I know primary teachers use in several applications that require mouse over to bring up tags and speech bubbles.

Will have to wait until next term to run in class and really preasure test.

The only addition I can see is change Miscellaneous to "Cursor Control" then have the following options:
a) Left Click
b) Right Click
c) Double Click
d) Cursor Motion only
e) No cursor Control
The 'Right Click' Toggle area button & 'Cursor Control' from the main window can be moved here and the option to create a toggle area for any of these 5 options offered (or perhaps a Click toolbar that floats over everything and has all five options). This will just give more freedom for users to personalise.

The "Toggle Area to Switch Mode" may want better labeling too. So it is clearer what it does.

I look forward to seeing with presentor option & minimise to tray too. This will be the last of the 'productivity' gains I can think off. When I first threw my the right click idea out in the forum about two months ago, and you ran with it, I had no idea that the software would evolve to this standard.

Leaving only for connectivity issues to be resolved. Have you looked at Thex's or Uwe's connection tools to see if anything you can port?

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 14, 2008, 10:35:13 AM
Boonjin
Firstly: BRILLIANT!!!

Love the partial screen tracking area, really cool for primary teachers who want to limit to a specific application. The option for cursor motion is also awesome, again something I know primary teachers use in several applications that require mouse over to bring up tags and speech bubbles.

Will have to wait until next term to run in class and really preasure test.

The only addition I can see is change Miscellaneous to "Cursor Control" then have the following options:
a) Left Click
b) Right Click
c) Double Click
d) Cursor Motion only
e) No cursor Control
The 'Right Click' Toggle area button & 'Cursor Control' from the main window can be moved here and the option to create a toggle area for any of these 5 options offered (or perhaps a Click toolbar that floats over everything and has all five options). This will just give more freedom for users to personalise.

The "Toggle Area to Switch Mode" may want better labeling too. So it is clearer what it does.

I look forward to seeing with presentor option & minimise to tray too. This will be the last of the 'productivity' gains I can think off. When I first threw my the right click idea out in the forum about two months ago, and you ran with it, I had no idea that the software would evolve to this standard.

Leaving only for connectivity issues to be resolved. Have you looked at Thex's or Uwe's connection tools to see if anything you can port?

Benpaddlejones :-)

Thanks for the feedback!
I have replied to your suggestions at the Wiimote Smooth Board thread:
http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-0-1-beta/30/ (http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-0-1-beta/30/)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: benpaddlejones on July 14, 2008, 11:25:55 PM
Boonjin

Might be worth locking this topic, to prevent confusion between the two threads.

Benpaddlejones :-)
Title: Re: Smoothing for Wiimote Whiteboard 0.2
Post by: boonjin on July 14, 2008, 11:29:35 PM
Boonjin

Might be worth locking this topic, to prevent confusion between the two threads.

Benpaddlejones :-)

Yeap
:)

Locked!

Go to the Wiimote Smooth Board thread for the latest information and dicussions:
http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-0-1-beta/ (http://www.wiimoteproject.com/wiimote-whiteboard/wiimote-smooth-board-0-1-beta/)