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

Comments

Projects
None yet
2 participants
@FrodeSolheim
Copy link
Owner

commented Apr 23, 2014

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.

@FrodeSolheim FrodeSolheim self-assigned this Jul 14, 2014

@MagerValp

This comment has been minimized.

Copy link

commented Aug 27, 2014

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

This comment has been minimized.

Copy link

commented Aug 27, 2014

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

This comment has been minimized.

Copy link
Owner Author

commented Feb 25, 2016

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

Merge pull request FrodeSolheim#19 from libretro/revert-18-master
Revert "There is no need to make the GPU do this work"
@FrodeSolheim

This comment has been minimized.

Copy link
Owner Author

commented Nov 3, 2016

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 labels Nov 3, 2016

@FrodeSolheim

This comment has been minimized.

Copy link
Owner Author

commented Nov 3, 2016

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

@FrodeSolheim

This comment has been minimized.

Copy link
Owner Author

commented Nov 3, 2016

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

@MagerValp

This comment has been minimized.

Copy link

commented Nov 3, 2016

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

This comment has been minimized.

Copy link
Owner Author

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

This comment has been minimized.

@MagerValp

This comment has been minimized.

Copy link

commented Nov 3, 2016

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
You can’t perform that action at this time.