#6018 Fullscreen mode unusable on tablets (touchscreens)

Ports
open
nobody
Graphics (902)
5
2014-02-16
2012-04-02
H Sundelin
No

At fullscreen mode, pointer behaves very erratically with multitouch screen & Wacon pen. Using external mouse it works however properly.
In windowed mode touchscreen works properly.

Likely reason for problem is that touchscreen & pen return absolute coordinates, which are not handled correctly when in fullscreen mode.

I also noticed a slight gameplay issue with touchscreen - as it's not very accurate pointing device, it is extremely hard to click to the edge of the window.
Suitable behaviour could be that when clicking border, it would be interpreted as clicking at nearest window edge.

ScummVM version 1.4.1.
Linux (ubuntu 12.04 64-bit)
Hardware Samsung 7 Slate, w/ Atmel maXTouch touchscreen & Wacom v4 pen.

Discussion

  • digitall
    digitall
    2012-04-08

    henris42: We do have some issues associated with touch/multitouch screens, mainly on Android and IPhone ports as most of the games originally were designed for 2/3 button mouse input, rather than absolute touchscreen interfaces.

    But these generally are associated with mapping of left/right mouse buttons, double click and drag to an appropriate gesture mapping, rather than the issues you seem to be seeing.

    The first issue sounds a jittering mouse position which can occur when the mouse is not "smoothed", which we do not do as that is an issue for the operating system. This may be a problem with your X11 wacom mouse drivers. I would suggest consulting the man page for xf86-input-wacom, especially the accel or using xsetwacom to adjust this setting.
    If you could check this and confirm here if this help and if this affects all Wacom usage or only with ScummVM.
    If this only affects ScummVM, then it may be related to SDL backend mouse setup (smoothing) and we will investigate.

     
  • digitall
    digitall
    2012-04-08

    The second issue is generally a game specific problem as some games have "hotspots" which are only 1 pixel wide at the screen edge. SCI games, especially Freddy Pharkas are known to be offenders, but this is as per the original engine and fixing this without breaking things is fairly tricky.

    henris42: Could you please confirm which game(s) you are observing the second issue in? If this is a large number or all, just a few examples would be sufficient.

     
  • Brad May
    Brad May
    2012-04-22

    Can confirm I have the same bug with the Samsung Slate under windows 7 when playing in fullscreen mode. Also have the same issue with Masters of Orion in Dosbox which makes it a driver/mapping issue I think.

    Input smoothing is tested both on and off in the touch settings without any change. The issue is that the pointer does not map to the touch movements but is greatly exaggerated to the point of not being usable.

    Hope this helps, any suggestions?

    Cheers,
    Merkin

     
  • digitall
    digitall
    2012-04-26

    merkinface: Thank you for the information, but I have no suggestions or workarounds.

    This sounds like an issue with Wacom mouse drivers generally or using them via the SDL mouse API hence affecting DOSBox as well... Without more detailed debug information and/or a developer with a Wacom tablet who is interested, this will probably not get fixed..

    if this is within SDL or the Wacom drivers, the ScummVM development team can't do much about this.

     
  • Brad May
    Brad May
    2012-04-26

    Thanks, I'll keep an eye out and post here if I can get a fix.

     
  • Strangerke
    Strangerke
    2013-11-17

    • Group: All Games --> Ports
     
  • Quietust
    Quietust
    2014-02-16

    I have this same problem on my Surface Pro - when in fullscreen mode, all touch input is interpreted as relative motion from the center of the screen (e.g. if I touch the left side of the screen, the cursor moves to the left, and if I touch the right side of the screen, the cursor moves to the right).

    A pity, since it renders the program largely useless on a tablet since Windowed mode cannot be maximized in order to hide the taskbar and other desktop icons - the closest I can get is 3x stretch, which still leaves a significant amount of space on the sides.