maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   How to calibrate stylus in n900 dosbox? (https://talk.maemo.org/showthread.php?t=42423)

ududud 2010-01-27 16:38

How to calibrate stylus in n900 dosbox?
 
Hi guys, this is my first post (sorry for my english ^^ im spanish)

i was installed the dosbox, with the rover.sys, and all ok after any hours all run ok, i was try play many games.. and i was try play warcraft 1, 2, theme hospital etc etc.. and this game RUN OK .. but the problem is the "stylus" the calibrate is very sux, i cant play with this.. any have any solution for this? (in the config.sys only have 2 options for mouse, the sensibility and the lock=true or false.. i dont have more options..

the question is how can calibrate this?

javispedro 2010-01-27 16:47

Re: How to calibrate stylus in n900 dosbox?
 
There's no calibration.

Allow me to explain the issue: DOS apps expects (most of them) relative mouse coordinates ("mouse moved 10 units to the left, then 10 to the right"). Touch screen gives absolute coordinates ("mouse is at pixel 40 of a 480 pixels screen").

DOS programs then use the relative coordinates to draw a cursor at an absolute position, but you cannot "get" that information easily. Most DOS apps also apply their own mouse speed/acceleration algorithms over the given mouse relative coordinates, and again DOSBox knows nothing of this.

Thus, the touch screen coordinates and the drawn cursor can easily desynchronize.

The only solution is to try to disable any mouse acceleration support in the application, and play with the mouse speed settings (again, in the DOS applications) until they agree with the DOSBox sensitivity.

ududud 2010-01-27 17:02

Re: How to calibrate stylus in n900 dosbox?
 
ok, if any guys was played this games in dosbox have any recomendation for config this? true or false the lock? and the sensibility? how?

javispedro 2010-01-27 17:51

Re: How to calibrate stylus in n900 dosbox?
 
autolock true makes no sense in this device...

ArnimS 2010-01-27 17:52

Re: How to calibrate stylus in n900 dosbox?
 
It makes me cry.

Not easy to fix. IBM PC SUCKS.

It really SUCKS.

janus_0104 2010-03-23 22:11

Re: How to calibrate stylus in n900 dosbox?
 
maybe it's due to a simplistic description, but it seems to me you could just store the absolute position from the last timestep and compute the relative coordinates through that? E.g. I click on [1,1], then on [100,100] and DOSBOX simulates [+99,+99] ?

javispedro 2010-03-23 22:20

Re: How to calibrate stylus in n900 dosbox?
 
You're describing the way it works now.

janus_0104 2010-03-24 21:27

Re: How to calibrate stylus in n900 dosbox?
 
then i dont see why the results are so off?

javispedro 2010-03-24 21:35

Re: How to calibrate stylus in n900 dosbox?
 
If you tap coords 200,200, then point to 100,100, doesn't the pointer move 100,100 "units" to the upperleft corner?

SubCore 2010-03-24 21:39

Re: How to calibrate stylus in n900 dosbox?
 
the DOS games apply their own, additional computation regarding mouse position, speed, acceleration and so on.

dosbox tells it exactly where your stylus went/is, but the games interpret that differently, they make it go further a few pixels so it seems smoother. (considering the quality of ball mice back then not a bad idea actually *g*).

but dosbox cannot know that of course, because it only "feeds" the difference to your stylus' last exact position to the game.
which now differs from the position of the cursor. this adds up over time, resulting in desynchronization.

(feel free to correct me if i understood it wrong :) )


All times are GMT. The time now is 14:24.

vBulletin® Version 3.8.8