Previous Thread
Next Thread
Print Thread
Mouse behaviour in Mac driver #116373 11/08/19 11:21 PM
Joined: May 1999
Posts: 563
Carbon Online Content OP
Senior Member
OP Online Content
Senior Member
Joined: May 1999
Posts: 563
Hi,

I just tried the mac driver in MAME again since ages and it runs System 7 quite well.

One issue I'm having is the "proportional" positioning of the mouse pointer in the emulated machine in reference to the mouse on my real machine. Is there any way to have the emulated mouse just get set at the same position as the host machine and, whenever it is out of bounds of the emulation window it freezes at the point of exit, like in VMWare Fusion or Parallels Desktop?

Re: Mouse behaviour in Mac driver [Re: Carbon] #116374 11/09/19 12:23 AM
Joined: Mar 2001
Posts: 16,371
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,371
That would require the MAME C++ code knowing about MacOS internals, which is something we obviously don't want to do.

If Lua scripts could know the mouse pointer's position in the window you could map the mouse inputs to nothing and have a script drive the pointer, but I don't think that's currently possible.

Re: Mouse behaviour in Mac driver [Re: Carbon] #116377 11/09/19 12:42 PM
Joined: May 1999
Posts: 563
Carbon Online Content OP
Senior Member
OP Online Content
Senior Member
Joined: May 1999
Posts: 563
OK, a workaround would be to use the driver in full screen mode (but the aspect ratio of the screens have to match).


Who's Online Now
7 registered members (AJR, Pernod, robcfg, Carbon, Lord Nightmare, 2 invisible), 139 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,710
Posts114,489
Members4,869
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3