![]() |
2011-06-17
, 16:29
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#2
|
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-06-17
, 16:33
|
|
Posts: 565 |
Thanked: 618 times |
Joined on Jun 2010
@ Finland
|
#3
|
there doesn't seem to be any cross-platform way to move the mouse pointer.
![]() |
2011-06-17
, 18:28
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#4
|
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-06-17
, 19:10
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#5
|
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-06-17
, 19:27
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#6
|
![]() |
2011-06-17
, 19:41
|
|
Posts: 565 |
Thanked: 618 times |
Joined on Jun 2010
@ Finland
|
#7
|
![]() |
2011-06-17
, 19:48
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#8
|
The cursor seems to go up when I want it to go down and down when I want it to go up, otherwise it seems to work.
x = (lx*8+(average(l3x)/800.0+0.5)*height)/9
x = (lx*8+(average(l3x)/(-800.0)+0.5)*height)/9
The Following User Says Thank You to skykooler For This Useful Post: | ||
![]() |
2011-06-17
, 19:52
|
|
Posts: 565 |
Thanked: 618 times |
Joined on Jun 2010
@ Finland
|
#9
|
Hmm...I wonder why that is. Anyway, you can change that by changing the line
toCode:x = (lx*8+(average(l3x)/800.0+0.5)*height)/9
in server.py.Code:x = (lx*8+(average(l3x)/(-800.0)+0.5)*height)/9
I should add a command line flag for that.
The Following User Says Thank You to laasonen For This Useful Post: | ||
![]() |
2011-06-17
, 20:10
|
Posts: 482 |
Thanked: 550 times |
Joined on Oct 2010
|
#10
|
That fixed it. Its still almost impossible to control the cursor properly, maybe in some games
The Following User Says Thank You to skykooler For This Useful Post: | ||
Note that this will only work if you connect your N900 to the same Wifi network as your computer!
To Use:
Please tell me what you think! I know I really should make it threaded to smooth the movement but I hate threading, I will work on that though.