Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing FS-UAE with Cmd+Q conflicts with Dopus and CygnusEd usage #19

Closed
FrodeSolheim opened this issue Apr 23, 2014 · 10 comments
Closed
Assignees

Comments

@FrodeSolheim
Copy link
Owner

Quitting FS-UAE by pressing Cmd+Q is handled automatically by SDL 2.0. SDL may have to be patched in order to allow overriding this behavior.

Still, it is perhaps a good idea to let the application quit with this standard key combo on OS X, but if possible, it would be nice with an option to disable it.

A SDL_HINT_HANDLE_OS_HOTKEYS has already been suggested: https://forums.libsdl.org/viewtopic.php?p=33644#33644.

@MagerValp
Copy link

It's also LAmiga-M which minimizes FS-UAE instead of flipping screens. CMD-H is also captured but isn't used by as many Amiga applications.

This is horribly frustrating.

@MagerValp
Copy link

How about this: if you receive an SDL_QUIT event while RAmiga is pressed, ignore and handle as SDL_KEYDOWN for SDL_SCANCODE_Q. I'm not sure if you can apply the same idea to CMD-M, but at least it doesn't quit the emulator.

@FrodeSolheim FrodeSolheim added the help wanted Extra attention is needed label Sep 29, 2014
@FrodeSolheim
Copy link
Owner Author

The solution for Cmd+Q is for me to create a patch for SDL 2.

repojohnray pushed a commit to repojohnray/libretro-fsuae that referenced this issue Sep 5, 2016
Revert "There is no need to make the GPU do this work"
@FrodeSolheim
Copy link
Owner Author

Fixed for upcoming FS-UAE releases by bundling with a patched SDL 2 version. Cmd+Q will be ignored by SDL 2, and, if full keyboard emulation is enabled, FS-UAE will not quit on Cmd+Q.

@FrodeSolheim FrodeSolheim added fixed and removed help wanted Extra attention is needed labels Nov 3, 2016
@FrodeSolheim
Copy link
Owner Author

Also patched SDL 2 to remove default Cmd+M, Cmd+H and Ctrl+Cmd+F keyboard shortcut handling!

@FrodeSolheim
Copy link
Owner Author

Fix can be tested with this version: http://fs-uae.net/stable/2.8.0u3/

@FrodeSolheim FrodeSolheim removed enhancement New feature or request fixed labels Nov 3, 2016
@MagerValp
Copy link

Nice, thanks! The right cmd key works as RAmiga in every situation now, but the left cmd key seems to control emulator keyboard shortcuts all the time. Is this expected behavior? Specifically I still miss LAmiga-N/M.

@FrodeSolheim
Copy link
Owner Author

FrodeSolheim commented Nov 3, 2016

Press Cmd+K to enable full keyboard emulation (F12+K to toggle back). There is also an option to start in this mode by default, if you want to.

@FrodeSolheim
Copy link
Owner Author

@MagerValp
Copy link

Ah, my config is still from 2.6, so that fixed it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants