Sponsors of Wiimoteproject.com
IR Pens for Wiimote Whiteboard
Pages: [1]
Print
Author Topic: Application to help right clicking 2  (Read 11113 times)
0 Members and 1 Guest are viewing this topic.
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« on: June 01, 2008, 03:57:50 PM »

Hello! I am a new Wiimote Whiteboard user Smiley from Singapore studying electrical and electronics engineering.
Similar with the experiences of many other users here, the lack of a right-clicking feature is annoying.
Therefore, after seeing benpaddlejones's request to make an app, I decided to create one for myself.

The following is an excerpt from my website:
Right Clicker 0.1, allows you to switch the normal clicks into right clicks.
This is done by intercepting the left click event and replacing it with a simulated right click event.

After executing the application, drag or resize the window to suit your usage.
When you need to right click, just click within the window, toggle area or the status bar (except the settings button).
The subsequent click you make will be a right click. After that, the next clicks will be the normal left clicks.

Please feel free to post any comments here or at my website. If any one needs any other features, I will be most willing to help.


Here is a video demonstrating the usage of Right-Clicker

<a href="http://www.youtube.com/watch?v=f70FZ8gsLyI" target="_blank">http://www.youtube.com/watch?v=f70FZ8gsLyI</a>

More details here: http://www.boonjin.com/wp/2008/06/01/right-clicker-01-for-wiimote-whiteboard
« Last Edit: July 13, 2008, 04:22:38 PM by boonjin » Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Support Admin
*
Karma: +11/-3
Posts: 566
Offline Offline
View Profile WWW
« Reply #1 on: June 01, 2008, 11:08:52 PM »

A great solution to a common problem
Logged

Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #2 on: June 02, 2008, 12:11:25 AM »

Genius!
You read my mind!

The program installs a button in the right window of the task bar what would be cool is:
a) no window, only button in task bar (could be a settings option)
b) click on task bar button for right click function (next click only)
c) click on task bar button second time (now a right click) to bring up menu to exit application, maximise to a window or select settings dialog box.

Once again genius!

benpaddlejones  Cheesy
« Last Edit: June 02, 2008, 12:13:25 AM by benpaddlejones » Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #3 on: June 02, 2008, 05:35:40 AM »

Genius!
You read my mind!

The program installs a button in the right window of the task bar what would be cool is:
a) no window, only button in task bar (could be a settings option)
b) click on task bar button for right click function (next click only)
c) click on task bar button second time (now a right click) to bring up menu to exit application, maximise to a window or select settings dialog box.

Once again genius!

benpaddlejones  Cheesy

I will try to work on this as soon as possible. Smiley
Most probably I will do it with just a system tray icon (easier to do). However, the clicking area might be too small.
Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #4 on: June 02, 2008, 10:55:26 AM »

I have updated Right-clicker 0.1 to allow the system tray to be used as a toggle area. This is according to benpaddlejones's suggestions. Thanks! Cheesy



The usual left click mode indicated by the cursor icon that is pointed to the left with a letter L.

After clicking on the icon, the program will turn into right click mode (cursor icon pointing to the right with the letter R).
The next immediate click will be a right click.


To load the menu, click the icon twice (or right click the icon)

More details and download from here:
http://www.boonjin.com/wp/2008/06/02/right-clicker-02
Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #5 on: June 02, 2008, 12:15:58 PM »

boonjin
I'm guessing you sleep as little as I do!

Works well testing with my mouse at home, can't wait to get to school to try V0.2 with Wiimote Whiteboard.

I can't get to work in Powerpoint (when would be most usefull in Interactive whiteboard setting to select pen or move to specific slide).

Wondering if it is because Powerpoint & Onenote see clicks slightly different? see post http://www.wiimoteproject.com/tech-chat/help-wiimote-irpen-not-working-in-microsoft-onenotepowerpoint-t967.0.html will explain problems I had with certain left clicks, maybe related?

benpaddlejones
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #6 on: June 02, 2008, 01:00:17 PM »

boonjin
I'm guessing you sleep as little as I do!

Works well testing with my mouse at home, can't wait to get to school to try V0.2 with Wiimote Whiteboard.

I can't get to work in Powerpoint (when would be most usefull in Interactive whiteboard setting to select pen or move to specific slide).

Wondering if it is because Powerpoint & Onenote see clicks slightly different? see post http://www.wiimoteproject.com/tech-chat/help-wiimote-irpen-not-working-in-microsoft-onenotepowerpoint-t967.0.html will explain problems I had with certain left clicks, maybe related?

benpaddlejones

Hey!
Actually i'm from the other side of the globe.  Cheesy

I have just tested with powerpoint 2003 and like you said, it does not register the right click.
I have temporarily used a crude method by right clicking twice and it works on powerpoint 2003.
Can you help test on yours? Thanks!

Its available here:
http://www.boonjin.com/wp/2008/06/02/right-clicker-02

In Excel 2007, the right click also does not work even with the modified right-clicker.
Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #7 on: June 02, 2008, 01:40:39 PM »

boonjin
Yes works fine in powerpoint/desktop & Onenote (Office 2007 on WinXP Pro SP3)

Will the double click work arround create problems in other apps???

Ben paddlejones
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #8 on: June 02, 2008, 03:32:10 PM »

boonjin
Yes works fine in powerpoint/desktop & Onenote (Office 2007 on WinXP Pro SP3)

Will the double click work arround create problems in other apps???

Ben paddlejones

Thanks for testing!

I'm not sure whether this will affect other apps but in general interaction, I think it won't. However, I will still find for better solutions as this was a quick method.
Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #9 on: June 03, 2008, 06:58:53 AM »

Boonjin
Just found at school this app overrides the code correction that allows for the pen function in powerpoint & onenote.

With your Whiteboard Smoothing app alone pen function works perfectly, with rightclicker running aswell pen no longer works.

Benpaddlejones
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #10 on: June 03, 2008, 07:32:14 AM »

thanks for the feedback.. Smiley
I also faced a similar problem when drawing in powerpoint 2003. I will try to find other methods soon.
Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #11 on: June 05, 2008, 06:37:45 AM »

Boonjin
Just got v0.3 works great.

On your blog you say that right clciker stops working in pen mode (powerpoint & onenote). I find that rightclciker works fine, rather the pen stops working.

benpaddlejones :-)
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 1
Offline Offline
View Profile
« Reply #12 on: June 05, 2008, 07:56:51 AM »

in my mac version of the wiimote software, i just "touch" the same spot on the screen for 1.5 seconds and a right click dialogue come up then drag it onto whichever one i want

Logged
Guru
*****
Karma: +28/-0
Posts: 928
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #13 on: June 06, 2008, 02:59:39 PM »

Boonjin
Just got v0.3 works great.

On your blog you say that right clciker stops working in pen mode (powerpoint & onenote). I find that rightclciker works fine, rather the pen stops working.

benpaddlejones :-)

Do you mean that once in the pen mode, the you cant draw with the pen at all?

Thanks for your continuous testing. hehehe
Logged

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #14 on: June 06, 2008, 04:35:28 PM »

[Do you mean that once in the pen mode, the you cant draw with the pen at all?
Yes
On first click a dot is left, a shadow follows the click hold and a mark is left on the click release.

Its the same problem as fixed in http://www.wiimoteproject.com/wiimote-whiteboard/powerpoint-slideshows-the-pen-or-highlighter-dont-works-t134.15.html
I found the solution for this problem.

I think powerpoint uses different way of getting the mouseevent from other applications.
Change the method of setting the mouse position, and it will work well.

Change the code in this way.

Line 68-71 of Form1.cs:
long
->
uint

Line 192 of Form1.cs:
SetCursorPos((int)warpedX, (int)warpedY);
->
mouse_event(MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE, (uint)(warpedX * 65535 / screenWidth), (uint)(warpedY * 65535 / screenHeight), 0, 0);

I attached the fixed version of wii whiteboard.

I'm no coder (just a player, hence all the testing) but if you integrate "Whiteboard with Smoothing" (has the above code corrections) with rightclick0.2 would not override as left click is as per "Whiteboard with smoothing" which we know works? (Feel free to shake your head at the end-user with no idea  Roll Eyes)

benpaddlejones
p.s. I think you need to come with a cooler name for "Whiteboard with Smoothing" its some great work and I think it deserves some ownership!
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
Pages: [1]
Print
Jump to:  

Clicky Web Analytics