English Amiga Board    


Go Back   English Amiga Board > » Requests > request.UAE Wishlist

Reply
 
Thread Tools
Old 12 April 2010, 12:38   #1
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 334
Touchscreen mouse emulation

Over on the GP32X forums, I've been informed by Mr Craig Rothwell that patching an amiga emulator to use a touchscreen to control the mouse is likely impossible.

I disagree - I envisage a system that translates touchscreen coords into mouse movements (a displacement from the current mouse pointer coordinate to the new position). This would be quite easy for say, intuition, and might be a tad more involved if you're running a game, but I think it should be easy enough to do.

Any thoughts? I mean, it's not like it's impossible to detect when a game reads the mouse, is it? You just supply your values instead of the real mouse coords/delta.

In particular, Toni, what are your thoughts on this? I'm not asking for it in WinUAE, but I need to know how difficult it would be in general under emulation.

D.
Dunny is offline   Reply With Quote
Old 12 April 2010, 12:42   #2
Photon
Oldskool Demo Coder
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Age: 41
Posts: 3,674
Send a message via MSN to Photon
Well, WinUAE works already with my LCD tablet, so. I guess what is needed is to translate the Wiz pen movements to mouse coords the same way my tablet's driver does? And then it will work as a mouse. As for games, well a mouse is relative and a tablet is absolute. So defo more work. But I think pre-translating the pen input instead of patching the emulator has a better chance. Doesn't the Wiz pen already work just like a mouse?
__________________
Henrik. Programs Amiga demos, iPhone apps, websites, etc.
A1000/512k - A500 2.0/040@28/4M/.5M slowmem/8M/SCSI/CF - A600 portable II 3.1/ACA630/WiFi/CF - 'A1700' 3.1/68060@80/64M/IDE-Fix Express/CF - etc."The difference between PC and Amiga is that 10yo PCs are worth $0. 20yo Amigas are worth a lot, and Amigas that are only 15yo cost a fortune!"
If you like Portal 2, try my >> single player and cooperation maps <<
Photon is offline   Reply With Quote
Old 12 April 2010, 13:29   #3
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 334
Quote:
Originally Posted by Photon View Post
Well, WinUAE works already with my LCD tablet, so. I guess what is needed is to translate the Wiz pen movements to mouse coords the same way my tablet's driver does? And then it will work as a mouse. As for games, well a mouse is relative and a tablet is absolute. So defo more work. But I think pre-translating the pen input instead of patching the emulator has a better chance. Doesn't the Wiz pen already work just like a mouse?
No idea This is for the Pandora.

I've already said that games will require a case-by-case solution, but overriding the games' behaviours without necessarily modifying the game code. I'd love a version of carrier command that used the touchscreen properly...

D.
Dunny is offline   Reply With Quote
Old 12 April 2010, 13:32   #4
TheCyberDruid
Moderator
 
TheCyberDruid's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 35
Posts: 22,465
Quote:
Originally Posted by Dunny View Post
No idea This is for the Pandora.
Maybe this thread belongs to http://eab.abime.net/forumdisplay.php?f=54 then?
__________________


"I am Polka and that's why I don't like accordions" - CrazyOne, April 2013
TheCyberDruid is online now   Reply With Quote
Old 12 April 2010, 13:46   #5
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 334
Quote:
Originally Posted by TheCyberDruid View Post
Maybe this thread belongs to http://eab.abime.net/forumdisplay.php?f=54 then?
Not sure if it's a problem, as such, I'm just looking to explore the possibilities of modifying one of the UAE branches for that platform.

D.
Dunny is offline   Reply With Quote
Old 12 April 2010, 14:06   #6
Merlin
AmiBay MegaMod
 
Merlin's Avatar
 
Join Date: Mar 2007
Location: Manchester, UK
Age: 51
Posts: 1,122
Touchscreens will still use a PS/2 protocol for the mouse movement, so I wouldn't have expected any nasty surprises with the pointer. I'm not sure about the button clicks though....
__________________
Author of the Retr0bright Wiki: http://www.retr0bright.wikispaces.com
Merlin is offline   Reply With Quote
Old 12 April 2010, 14:25   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,943
There is no way to have generic game compatible absolute mouse to relative mouse conversion and I don't like game specific hacks, sorry.

System friendly software works perfectly fine with built-in "mousehack" input handler. (was external in older versions)
Toni Wilen is offline   Reply With Quote
Old 12 April 2010, 16:13   #8
eLowar
Citizen of Elthesh
 
eLowar's Avatar
 
Join Date: Sep 2003
Location: Germany
Posts: 949
Why not just translate dragging to mouse movement?

I mean you can't point and click then, but I could imagine it being convenient enough once one gets used to it, and if the speed is adjustable. Kind of like a combined screen/trackpad.
__________________
· · · And you all know, security is mortals' chiefest enemy.
eLowar is offline   Reply With Quote
Old 12 April 2010, 18:50   #9
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 334
Quote:
Originally Posted by Toni Wilen View Post
There is no way to have generic game compatible absolute mouse to relative mouse conversion and I don't like game specific hacks, sorry.

System friendly software works perfectly fine with built-in "mousehack" input handler. (was external in older versions)
I wasn't asking you to do it - I just wanted to figure out how possible it is. If I need to modify UAE sources to do it, I'll do it myself

D.
Dunny is offline   Reply With Quote
Old 27 February 2012, 17:46   #10
s2325
Zone Friend
 
s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 32
Posts: 11,259
Is there a way to use WinUAE with NEC AS221WM monitor and Windows 7? Amiga pointer is at random position with each touch.
s2325 is online now   Reply With Quote
Old 27 February 2012, 22:11   #11
Mnemesi
Registered User
 
Join Date: Nov 2005
Location: North America
Age: 44
Posts: 57
WinUAE 's pretty random with a Fujitsu P16xx series laptop's touchscreen too, sadly. I was hoping to rip some pixels using DPaint, but no, it wants to jiggle back to the lower right corner on first contact.
Mnemesi is offline   Reply With Quote
Old 28 February 2012, 08:07   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 38
Posts: 11,943
You need Amiga-side driver for touchpads or any other absolute pointing devices, real or emulated Amiga.

Enable "Virtual mouse driver" (Checkbox in Game Ports panel). This is improved old mousehack option.
Toni Wilen is offline   Reply With Quote
Old 13 March 2013, 05:06   #13
mouse emulator
Registered User
 
Join Date: Mar 2013
Location: NewYork
Posts: 1
You can try to use a software that is named Cok Free Mouse Emulator to contorl your touchscreen.
mouse emulator is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Touchscreen on the Amiga Flink Amiga scene 16 14 November 2009 07:38
CDTV mouse mode emulation mk1 request.UAE Wishlist 5 17 February 2009 22:36
Amiga mouse moonlighting as Myarc Mouse thinlega Nostalgia & memories 1 11 April 2008 13:53
CD32 compatible PSX-Pads with Autofire and Mouse Emulation! Ebster MarketPlace 19 21 November 2007 00:24
Mouse Emulation (Mouse1right/left/up/down) Konrad support.WinUAE 6 09 August 2006 10:43


All times are GMT +2. The time now is 19:47.

-->

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Page generated in 0.41404 seconds with 11 queries