English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 04 December 2012, 15:44   #1
Registered User
Join Date: Aug 2004
Posts: 3,237
Magic mouse/virtual mouse driver issues

I noticed some issues with magic mouse and the virtual mouse driver. This is with the "Show host cursor only" option checked. With that (as far as I can see) WinUAE sets the Windows mouse pointer image to be a copy of the Amiga one and hides the Amiga pointer sprite.
  • If the user changes the mouse pointer using Pointer preferences, WinUAE does not detect that so the mouse pointer continues to show the old imagery.
  • WinUAE seems to assume the pointer hotspot is at the top left of the mouse image. If your normal Amiga mouse pointer isn't like that, the mismatch means the actual pointer click occurs above where you think it is. So e.g. selecting from a menu, the menu item above the correct one is selected. An easy way to see the mismatch is to boot Workbench 2.0 or later and once Workbench loads, click and drag the mouse to show the selection marquee/rectangle. See the attached pointer prefs archive. Load that into Pointer preferences, save as the default then quit WinUAE and run it again.
  • If you boot up with Magic Mouse enabled, then after booting uncheck Magic Mouse and continue emulation the mouse pointer disappears. It's as if WinUAE forgets to restore the native Amiga pointer sprite image when Magic Mouse is disabled. In fact, when I boot with Magic Mouse disabled and virtual mouse driver enabled, the mouse pointer is missing once Workbench loads.
  • With "Show both cursors" selected, change Workbench to an A2024 mode. Notice that the Windows mouse pointer and the Amiga one are separated. They are close near the top left of the screen, getting further apart the further right and down you move the mouse.
Attached Files
File Type: lha Pointer_test.lha (496 Bytes, 217 views)
mark_k is offline  
Old 04 December 2012, 20:14   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 47
Posts: 25,403
Show host cursor is semi-pointless feature that is mainly meant for RTG modes where cursor position can be exactly known.

Chipset modes aren't that simple due to screen dragging, overscan etc.. (and A2024!)
Toni Wilen is offline  
Old 04 December 2012, 20:43   #3
Registered User
Join Date: Aug 2004
Posts: 3,237
Yeah I can see how native modes might be a bit of a pain. I guess you could snoop the sprite 0 position rather than figure out the pointer position in a system-legal way but that's probably a bit of an ugly solution. Still, the host pointer feature could be useful in native modes because you could get a nice high-res pointer (potentially) rather than always low-res.

For A2024 modes though, in some sense those are like RTG modes; fixed size and non-draggable screens. If the show host cursor only option were to work in A2024 modes that could actually be quite useful. Benefits would be:
  • Mouse pointer could be shown in colour instead of black/white
  • Mouse pointer could be shown in the correct aspect ratio
  • No vanishing mouse pointer at the right-hand edge of the screen in 10Hz modes with ECS Agnus (the 1008-pixel screen with OCS doesn't have that problem).
mark_k is offline  

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse pointer issues Intuition support.FS-UAE 20 13 March 2017 11:05
Mouse mat to lower optical mouse sensitivity? Bamiga2002 support.Hardware 7 22 March 2013 07:35
A4000, mouse clicks, no mouse move, no keyboard OverDose support.Hardware 4 16 March 2011 13:25
Amiga 1200 mouse issues six981 support.Hardware 0 30 September 2010 22:08
Toggle Magic Mouse smoorke support.WinUAE 1 14 June 2009 10:04

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 +2. The time now is 03:25.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Page generated in 0.06935 seconds with 14 queries