Go Back   maemo.org - Talk > Software > Games
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2010-01-27, 16:38
ududud ududud is offline
 
Join Date: Jan 2010
Location: Spain
Posts: 37
Thanks!: 14
Thanked 3 Times in 3 Posts
Post 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?
Reply With Quote
  #2  
Old 2010-01-27, 16:47
javispedro's Avatar
javispedro javispedro is offline
 
Join Date: Jan 2009
Location: Barcelona
Posts: 2,355
Thanks!: 2,145
Thanked 5,249 Times in 1,344 Posts
Default 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.
Reply With Quote
The Following 3 Users Say Thank You to javispedro For This Useful Post:
  #3  
Old 2010-01-27, 17:02
ududud ududud is offline
 
Join Date: Jan 2010
Location: Spain
Posts: 37
Thanks!: 14
Thanked 3 Times in 3 Posts
Default 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?
Reply With Quote
  #4  
Old 2010-01-27, 17:51
javispedro's Avatar
javispedro javispedro is offline
 
Join Date: Jan 2009
Location: Barcelona
Posts: 2,355
Thanks!: 2,145
Thanked 5,249 Times in 1,344 Posts
Default Re: How to calibrate stylus in n900 dosbox?

autolock true makes no sense in this device...
Reply With Quote
  #5  
Old 2010-01-27, 17:52
ArnimS's Avatar
ArnimS ArnimS is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 1,107
Thanks!: 838
Thanked 720 Times in 257 Posts
Default Re: How to calibrate stylus in n900 dosbox?

It makes me cry.

Not easy to fix. IBM PC SUCKS.

It really SUCKS.
__________________
find . -name \*.mp3 -exec mplayer -quiet -shuffle "{}" +
das ist your media player, and yuu vill like it
Reply With Quote
  #6  
Old 2010-03-23, 22:11
janus_0104 janus_0104 is offline
 
Join Date: Mar 2010
Posts: 15
Thanks!: 0
Thanked 1 Time in 1 Post
Default 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] ?
Reply With Quote
  #7  
Old 2010-03-23, 22:20
javispedro's Avatar
javispedro javispedro is offline
 
Join Date: Jan 2009
Location: Barcelona
Posts: 2,355
Thanks!: 2,145
Thanked 5,249 Times in 1,344 Posts
Default Re: How to calibrate stylus in n900 dosbox?

You're describing the way it works now.
Reply With Quote
  #8  
Old 2010-03-24, 21:27
janus_0104 janus_0104 is offline
 
Join Date: Mar 2010
Posts: 15
Thanks!: 0
Thanked 1 Time in 1 Post
Default Re: How to calibrate stylus in n900 dosbox?

then i dont see why the results are so off?
Reply With Quote
  #9  
Old 2010-03-24, 21:35
javispedro's Avatar
javispedro javispedro is offline
 
Join Date: Jan 2009
Location: Barcelona
Posts: 2,355
Thanks!: 2,145
Thanked 5,249 Times in 1,344 Posts
Default 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?
Reply With Quote
  #10  
Old 2010-03-24, 21:39
SubCore's Avatar
SubCore SubCore is offline
 
Join Date: Sep 2009
Location: Vienna, Austria
Posts: 850
Thanks!: 1,021
Thanked 626 Times in 320 Posts
Default 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 )
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:23.