Previous Thread
Next Thread
Print Thread
Joined: Feb 2000
Posts: 215
T
Senior Member
OP Offline
Senior Member
T
Joined: Feb 2000
Posts: 215
On Mac OS X (10.13) the keystrokes I type into the debugger and also being sent the to driver. I think this doesn't happen on Windows.

I've looked into fixing the situation, but it looks complicated. I think I'll somehow have to add any debugger windows created to osd_common_t::s_window_list.

Then keep osd_common_t::s_window_list ordered based on getting, and losing focus to the various windows.

Then somehow filter specific keystrokes out if the main window isn't an emulation window.

If anyone has some advice I'd sure appreciate it.


tim lindner
tlindner@macmess.org
Joined: Mar 2001
Posts: 16,892
Likes: 51
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,892
Likes: 51
As far as I'm aware debugger keystrokes go to the emulation on all platforms. There's definitely some weirdness on the Mac in terms of how the debugger updates. I need to get back to making OSD=mac (full native Cocoa) work, because as long as we're running on SDL we can't solve that.

Last edited by R. Belmont; 05/05/21 01:10 AM.
Joined: Aug 2004
Posts: 1,455
Likes: 9
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,455
Likes: 9
Tim is correct; debugger keystrokes stay in the debugger in Windows and don't leak into the emulation. It's only certain keystrokes from the UI that can leak.

Perhaps keys might leak if I chose another debugger, but I only tried the default Windows one.

Joined: Mar 2001
Posts: 16,892
Likes: 51
R
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,892
Likes: 51
All UI keys leak; that's been a problem for as long as MESS has existed.

Joined: Feb 2014
Posts: 796
Likes: 24
G
Senior Member
Online Content
Senior Member
G
Joined: Feb 2014
Posts: 796
Likes: 24
Just a suggestion : there were keyboard controls that could disable/enable keyboards from the Keyboard Mode menu that came in recently, maybe you could leverage that somehow?


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
1 members (MAMEBase), 25 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,069
Posts118,922
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com