Hi everybody. Its my first post on the forum (I just discover the site) and before to say anything I'm so sorry if my english language is not perfect (I'm french).
I'va made a little iOS app that take the gyroscope values and send it over tcp
After that I've made a tcp server script in python that fetch the values and use pyMouse for transform values in mouse mouvements.
It work very well and move the mouse acording to the accelerometer values, but it only work on the desktop. When I run a game the mouse move but the view of the game don't move
Do you know if it sa limitation of pyMouse ? Or something I miss?
LinkOS
Something is wrong in my ios VR app but dońt know what
-
- One Eyed Hopeful
- Posts: 2
- Joined: Fri Oct 31, 2014 5:18 am
- cybereality
- 3D Angel Eyes (Moderator)
- Posts: 11407
- Joined: Sat Apr 12, 2008 8:18 pm
Re: Something is wrong in my ios VR app but dońt know what
Sorry, but I don't know much about Python.
I wrote a mouse emulator in C++ for the Vuzix HMDs a while ago. You can find the source code here:
http://www.mtbs3d.com/phpbb/viewtopic.p ... 40#p103579
Basically it just uses the Windows function SendMessage() to fake mouse motions.
I'd imagine you could get it to work in Python as well. Maybe it is an issue of absolute versus relative position?
I wrote a mouse emulator in C++ for the Vuzix HMDs a while ago. You can find the source code here:
http://www.mtbs3d.com/phpbb/viewtopic.p ... 40#p103579
Basically it just uses the Windows function SendMessage() to fake mouse motions.
I'd imagine you could get it to work in Python as well. Maybe it is an issue of absolute versus relative position?
-
- One Eyed Hopeful
- Posts: 2
- Joined: Fri Oct 31, 2014 5:18 am
Re: Something is wrong in my ios VR app but dońt know what
thx for your response. I'll look at your C++ code
yeah perhaps a problem with relative/absolute, i'll look about that
yeah perhaps a problem with relative/absolute, i'll look about that