Jump to content


Photo

Dosbox: Problems With Nub Input


  • Please log in to reply
23 replies to this topic

#16 SirisC

SirisC

    GP32 User

  • Members
  • PipPipPip
  • 67 posts

Posted 23 October 2010 - 06:22 AM

I'm having similar problems with a usb mouse. When I click (even with the mouse removed from any surface), the pointer jumps (sometimes a little, somtimes halfway across the screen). Using the shoulder button for mouse clicks works well though. The shoulder button worked the first time I set it up, next time I ran dosbox it had the same problem as the mouse.

Edited by SirisC, 23 October 2010 - 06:45 AM.


#17 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6091 posts
  • Gender:Male

Posted 23 October 2010 - 12:14 PM

Probably related to the feature/bug of how SDL handles custom pointers. When using a custom pointer, it doesn't sync the touchscreen and mouse the way it does when using a regular pointer. There's a workaround, but it needs to be implemented in every piece of software that uses SDL.
(It's a feature because it was actually designed like that on purpose. It's a bug because I disagree with the design :P)

#18 otherguy66

otherguy66

    Member

  • Members
  • PipPip
  • 29 posts

Posted 23 November 2010 - 03:12 PM

It seems to work fine... in Ubuntu (on the Pandora). Is it a difference with SDL versions then?

#19 zapman

zapman

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:EU

Posted 15 December 2010 - 12:16 PM

I found out was causes the annoying behaviour of the mouse coursor in dosBox:

It's the ticked setting "retain aspect ratio" found in dboxFE -> System -> Render. Putting a checkmark here will display the dos game without any black borders at the top or bottom and makes it use all 480 pixel vertically. That's reallyreallyreally great looking but on the downside the nub-input is beeing f**ed up.

Is ther any way you could please fix that, Pickle? The scaling looks so much better than the smaller screen surrounded by big black borders..


EDIT: Actually, it seems that the 'retain aspect ratio' setting makes totally sense. Without it, the video output is distorted (at least with all games I tried: Colonization, alone in the dark 1 and 2, Quarantine, magic carpet, Master of orion, master of magic). The ratio should be 4:3 which it isn't if the 'retain aspect ratio' isn't checked.

From http://www.dosbox.com/wiki/Dosbox.conf :

aspect = true | false
Do aspect correction. It only affects non-square pixel modes like VGA Mode 13h, which has a resolution of 320x200 pixels and is used by many DOS games (DOOM, etc). Recommended as such games were designed for 4:3 displays, and without aspect correction will look distorted and not as the developer intended.

Default is false.


Edited by zapman, 15 December 2010 - 06:06 PM.


#20 zapman

zapman

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:EU

Posted 28 February 2011 - 03:56 PM

I found out was causes the annoying behaviour of the mouse coursor in dosBox:

It's the ticked setting "retain aspect ratio" found in dboxFE -> System -> Render. Putting a checkmark here will display the dos game without any black borders at the top or bottom and makes it use all 480 pixel vertically. That's reallyreallyreally great looking but on the downside the nub-input is beeing f**ed up.

Is ther any way you could please fix that, Pickle? The scaling looks so much better than the smaller screen surrounded by big black borders..


EDIT: Actually, it seems that the 'retain aspect ratio' setting makes totally sense. Without it, the video output is distorted (at least with all games I tried: Colonization, alone in the dark 1 and 2, Quarantine, magic carpet, Master of orion, master of magic). The ratio should be 4:3 which it isn't if the 'retain aspect ratio' isn't checked.

From http://www.dosbox.com/wiki/Dosbox.conf :


aspect = true | false
Do aspect correction. It only affects non-square pixel modes like VGA Mode 13h, which has a resolution of 320x200 pixels and is used by many DOS games (DOOM, etc). Recommended as such games were designed for 4:3 displays, and without aspect correction will look distorted and not as the developer intended.

Default is false.


Bump bump! Pickle, could you please have a look and fix the issue with the wrong aspect ratio/ incorrect nubinput?

#21 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 28 February 2011 - 04:09 PM

Bump bump! Pickle, could you please have a look and fix the issue with the wrong aspect ratio/ incorrect nubinput?


Its probably the code used to make the touchscreen usable (absolute) messing up the nub (relative). Dont know when ill have time to debug.

#22 zapman

zapman

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:EU

Posted 28 February 2011 - 04:20 PM

alright. Thanks for acknowleging :)

Edited by zapman, 28 February 2011 - 04:22 PM.


#23 zapman

zapman

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:EU

Posted 01 July 2011 - 08:07 AM

gentile bump

#24 zapman

zapman

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 183 posts
  • Gender:Male
  • Location:EU

Posted 05 December 2011 - 12:16 PM

boy, you must be busy ;(