Author Topic: HELP - Wiimote IR-Pen not working in Microsoft Onenote/Powerpoint???  (Read 7359 times)

Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed
Wiimote Friends

My Wiimote whiteboard works awesome! Except in Microsoft OneNote & Powerpoint (Office 2007) when using the 'Pen' function ???

I can:
   Click & drag notes
   Draw lines
   Draw shapes
   Control objects

I cannot:
   Write with a pen!!! in either Powerpoint & Onenote


What the problem looks like on screen:
[youtube]kstV5o-9-wg[/youtube]
Running XP pro fully updated inc service pack 3

I can write with my normal mouse & Wicom grapics tablet.

When I use the IR-Pen it registers a dot on first click, the cursor tracks with pen movements during hold click (without drawing a line) and a dot on click release?

Has anyone else had similar problems? Or any ideas for a fix, Onenote is the perfect whiteboard program for teachers, I'm really keen to use.

What I have found out:
- Works perfectly at home on my desktop runing Home XP & Office 2007
- Same effect when used with Jason's Presenter App
- Performed Office repair, no success
- Removed and reloaded Office 2007
- Tried disabling different HID's in 'Hardware Manager' no effect (except when disabled relievent HID's)
- The HID's that stop the Wiimote are: "Bluetooth Vertual HID Keyboard" & "HID Complient Game Controller"
- I have updated all the HID drivers using 'Hardware Manager' no effect
- Tried using Blue Soli on this laptop - no effect

I tried on a another identical laptop - same issue

I think my problem is:
In Onenote/Powerpoint Pen functions there appears to be a communication problem between the HID device and Onenote???

benpaddlejones

n.b. I moved this post from Whiteboard Support as I think this is a question for the really smart tech dudes!
« Last Edit: May 28, 2008, 04:02:26 AM by benpaddlejones »


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline atomriot

  • *
  • Posts: 177
  • Karma: +16/-0
    • View Profile
this is from another topic
http://www.wiimoteproject.com/wiimote-whiteboard/powerpoint-slideshows-the-pen-or-highlighter-dont-works-t134.15.html
page 2 half way down

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.

Details, details. Things to do. Things to get done. Don't bother me with details, just tell me when they're done.
--
James Lionel Price



Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
try with above solution - I don't use Onenote so I cannot try this at all I'm afraid

//UndCon



Offline benpaddlejones

  • Support Admin
  • *
  • Posts: 1178
  • Karma: +49/-0
    • View Profile
    • Inter.Connect.Ed

IT WORKS!!!

I love you guys (in a tottaly IT kind of way)!!!

How do I recomend this as a perm fix in future versions???

benpaddlejones :-)



See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones


Offline atomriot

  • *
  • Posts: 177
  • Karma: +16/-0
    • View Profile
it depends on where you are talking about making a permanent change at. if you got the code from Johnny's page, then its doubtful that he will update with these little fixes since his page is more of a technology guide, or example rather than a version that should be used mainstream. he left it up to the community to see how he did things and make your own creations.

I suppose you could go to one of the opensource project pages and request a bug there but i have not kept track of where all those projects are

Details, details. Things to do. Things to get done. Don't bother me with details, just tell me when they're done.
--
James Lionel Price