Sponsors of Wiimoteproject.com
ecanvas.ca
Pages: [1]
  Print  
Author Topic: Anyway to.....?  (Read 1925 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +0/-0
Posts: 3
Offline Offline
View Profile Email
« on: January 16, 2008, 02: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?
Logged
Guru
*
Karma: +16/-0
Posts: 177
Offline Offline
atomriot@hotmail.com colbzilla View Profile
« Reply #1 on: January 16, 2008, 03:22:12 PM »

you can comment out the mousedown call and it will not click
Logged

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

*
Karma: +2/-0
Posts: 123
Offline Offline
View Profile Email
« Reply #2 on: January 16, 2008, 03: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
Logged
Guru
*
Karma: +16/-0
Posts: 177
Offline Offline
atomriot@hotmail.com colbzilla View Profile
« Reply #3 on: January 16, 2008, 03:29:34 PM »

in the main form of your app, comment out this code

Code:
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
Logged

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

*
Karma: +0/-0
Posts: 3
Offline Offline
View Profile Email
« Reply #4 on: January 16, 2008, 04: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. @.@
Logged
Guru
*
Karma: +11/-1
Posts: 137
Offline Offline
View Profile
« Reply #5 on: January 16, 2008, 04:19:19 PM »

Can you try to run it in debugging mode from within visual studio (running the source code?)
Logged
*
Karma: +0/-0
Posts: 3
Offline Offline
View Profile Email
« Reply #6 on: January 16, 2008, 04: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.
Logged
*
Karma: +2/-0
Posts: 123
Offline Offline
View Profile Email
« Reply #7 on: January 17, 2008, 11:02:43 AM »

ruddy viruses
Logged
*
Karma: +0/-0
Posts: 1
Offline Offline
View Profile
« Reply #8 on: January 29, 2008, 04: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...  Sad
(As I said no kowledge of programming)

Thanks for helping beforehand

PS: I hope all this is understandable, English is not my native language.
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Clicky Web Analytics