26 May 2018, 04:15 | #1 |
Dream17 / PortsCenter guy
Join Date: Aug 2004
Location: Los Angeles
Age: 37
Posts: 311
|
WinUAE and the Microsoft Surface
I own a Surface Pro 4, and it's just now occurred to me that I could conceivably install Amiga Forever on this thing and play Lemmings with a touchscreen interface, which has been a dream since basically forever.
The question is, though, do WinUAE and Amiga Forever play nice with touchscreen devices like the Surface? Does anybody have any experience in this area? Or am I flying blind? |
26 May 2018, 08:49 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Unfortunately it is not possible without game specific hacks.
Touch screen/drawing tablets send absolute coordinates (absolute pixel position) but mouse is relative device ("mouse moved 5 units left from previous position", there is no origin or absolute start position and software's mouse movement unit to pixel mapping can be anything or even dynamic (mouse acceleration). Generic conversion between different devices is not possible if program takes over the system (like most games). Only fix is game specific patches that directly inject absolute coordinate to game's internal mouse (x,y) position variables. |
26 May 2018, 17:06 | #3 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,375
|
Surface Laptop would work but it’s not a tablet.
|
29 May 2018, 09:43 | #4 |
PSPUAE DEV
|
Install TabletPro (lets you use whole screen as mouse).
Set WinUAE to windowed mode (with no borders) and align so, you have a one line gap top or bottom (allows it to not take over every control, forcing you to reset if you dont). It works great. You can even use tablet pros onscreen xbox controller if needed. Surface is a tablet, with the option to attach keyboard. |
29 May 2018, 13:20 | #5 | |
Senior Member
Join Date: Jan 2003
Location: Paris
Posts: 134
|
Quote:
- Surface Pro is a tablet that can have a keyboard attached - Surface Book is a laptop (with a touchscreen) that can have its screen detached & work as a tablet - Surface Laptop is a laptop with a touchscreen (screen cannot be detached from the keyboard) There are ports of ScummVM to devices with touchscreens (like smartphones, gaming devices), I wonder how they implemented the mouse moves. @Tony wouldn't it be possible to have WinUAE send a mousemove + mouseclick once the user taps somewhere on the screen ? This way WinUAE could have basic support for these touch devices, at least for basic Workbench operations. |
|
30 May 2018, 21:09 | #6 | |
WinUAE end user
Join Date: Jan 2014
Location: Bremen
Age: 44
Posts: 649
|
Quote:
It's only software that bangs the HW directly, like most games, that won't work with tablet or touchscreen input. Workbench or better input.device can handle the data and translate it to a valid pointer position but most games just ignore it because they expect mouse data. The problem is that the tablet has to know the resolution of the screen to tell the pointer to go to position x:1220,y:783 for example with one corer of the sceen as 0 for x,x and a mouse is just telling the pointer go 1 pixel left,right,up or down. Most(all) Amiga games expect the latter one. But that mentioned input wrapper and a borderless window mode for the emulator sounds like it may work. From how I understand it the Windows and Amiga mouse have the same position in that scenario even if both use different resolutions. So where ever you toch the screen the mouse will be at this very position inside the emulation window,too. Last edited by Michael Sykes; 30 May 2018 at 21:15. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating large DirectDraw surface fails | mark_k | support.WinUAE | 17 | 30 August 2017 22:20 |
How to stop WinUAE going to Microsoft site? | Minuous | support.WinUAE | 2 | 23 April 2011 10:26 |
Magnetic surface duration | Another World | project.SPS (was CAPS) | 1 | 10 September 2008 20:10 |
A1200 or how to test for a faulty surface mount 8520? | gizmomelb | support.Hardware | 14 | 10 February 2007 12:01 |
Socketed vs Surface mounted mobos | Firthy2002 | support.Hardware | 6 | 06 September 2004 20:57 |
|
|