|
|
|
FAQ
• Login
|
|
|
It is currently Fri May 24, 2013 7:11 pm
|
|
Page 1 of 1
|
[ 4 posts ] |
|
| Author |
Message |
|
Ryukra
One Eyed Hopeful
Joined: Tue Apr 16, 2013 7:25 pm Posts: 5
|
I'm trying to get the Hydra to act like a lightgun and want to put the mouse cursor where the hydra is facing on the screen, but with freepie I can just set the deltax/y. I'm didn't read into python and its librarys, but it seems that I can't find a easy solution to do that.
|
| Thu Apr 18, 2013 4:27 pm |
|
 |
|
WiredEarp
Certif-Eyable!
Joined: Fri Jul 08, 2011 11:47 pm Posts: 1179
|
You could easily use Hydra in mouse mode to APPROXIMATE this. However, since there is no calibration between the Hydra and your screen distance, the chance that the Hydra would exactly line up with the cursor, and stay there if you moved around, forwards/backwards, etc, is pretty non existent.
Do you really need the Hydra to 'point' at the cursor, or do you just want absolute mouse control by moving the Hydra around within a box sized area?
|
| Thu Apr 18, 2013 8:08 pm |
|
 |
|
Ryukra
One Eyed Hopeful
Joined: Tue Apr 16, 2013 7:25 pm Posts: 5
|
I want to calculate the intersectingpoint from the pointingdirection of the hydra with the screen. I have the screendimensions and the position relative to the base station.
I-x--------I Screen ....\ .....\ O Base ......\ .......\\ Hydra
|
| Fri Apr 19, 2013 4:32 am |
|
 |
|
zalo
Sharp Eyed Eagle!
Joined: Sun Mar 25, 2012 12:33 pm Posts: 457
|
Huh, you can do absolute mouse position in Java with the awt.robot library...But I don't know if you can get FreePIE to interface like that.
|
| Thu Apr 25, 2013 7:18 pm |
|
 |
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: Google [Bot] and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|