Author Topic: Anyway to.....?  (Read 8295 times)

Offline Failoan

  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
on: January 16, 2008, 01:19:48 PM
Is there any way I can register the IR light as just the mouse cursor without preforming a click at the same time?

If so is it possible to use a keyboard button as the click?



Offline atomriot

  • *
  • Posts: 177
  • Karma: +16/-0
    • View Profile
Reply #1 on: January 16, 2008, 02:22:12 PM
you can comment out the mousedown call and it will not click

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 troy59

  • *
  • Posts: 123
  • Karma: +2/-0
    • View Profile
Reply #2 on: January 16, 2008, 02:23:15 PM
yes, you can make it so you have the IR light as the cursor,you'd have to go into the coding and change it tho. Also, unless you have a macro that tells it to left click, then i don't see why not.... although..... i could be wrong



Offline atomriot

  • *
  • Posts: 177
  • Karma: +16/-0
    • View Profile
Reply #3 on: January 16, 2008, 02:29:34 PM
in the main form of your app, comment out this code

Code: [Select]
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
that will make it not click but move the mouse around.

in mine i added a second check box so you can enable or disable the mouse and if the box is selected then it will run the code above, otherwise is ignores it so you can check it if you want mouse clicks

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 Failoan

  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Reply #4 on: January 16, 2008, 03:11:33 PM
Well I have a even bigger problem now..

2 weeks ago I tried out the program with my pen and it worked fine. Today after finishing up my new pen I decided to take a test ride. But the program wouldn't respond.

Every time I try to start up the program I get the error "WiimoteWhiteboard has encountered a problem and needs to close. We are sorry for the inconvenience."

The wiimote is recognized and the it has worked before. I tried both 1.0 & 1.2 library.

Any solution would be most appreciated, thanks. @[email protected]



Offline ZaPPZion

  • *
  • Posts: 137
  • Karma: +11/-1
    • View Profile
Reply #5 on: January 16, 2008, 03:19:19 PM
Can you try to run it in debugging mode from within visual studio (running the source code?)



Offline Failoan

  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Reply #6 on: January 16, 2008, 03:40:54 PM
Figured it out thanks for all the replies.

Turns out my framework 2.0 became corrupted some how, some way.

Thanks again.



Offline troy59

  • *
  • Posts: 123
  • Karma: +2/-0
    • View Profile
Reply #7 on: January 17, 2008, 10:02:43 AM
ruddy viruses



Offline SR

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reply #8 on: January 29, 2008, 03:25:25 PM
Hi

Preface
I thought about using a modified (IR-LED augmented) Version of the R-Mouse RM 30 http://www.r-mouse.com/
The left/right mouse clicks should be possible using the keymaniac freeware http://www.new-horizon.ru/keyman/?path=download&file=last

my Problem
What I need is the same functionality as Failoan. My problem is that I have no knowledge of programming at all.

Can you give me me step by step guide for doing this?
   I saw the solution above and I have a rough idea what it should do.
But I have - for example - no idea what the mainform is...  :(
(As I said no kowledge of programming)

Thanks for helping beforehand

PS: I hope all this is understandable, English is not my native language.