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

Fix aeroplane mode turning on at regular intervals #348

Merged
merged 3 commits into from
Feb 4, 2023

Conversation

TheKodeToad
Copy link
Contributor

@TheKodeToad TheKodeToad commented Feb 4, 2023

Fixes #303 and #344. Instead of pressing key 255 which seems to trigger aeroplane mode at least in GNOME, it sends a DBus message.

supressScreenSaver isn't actually needed any more.

Partially based on
https://github.com/libretro/RetroArch/blob/master/gfx/common/dbus_common.c
(I only used it to work out how to use dbus_message_append_args so licensing isn't a concern)

P.S. it seems this repo doesn't have a license. I don't think this is allowed since bsnes is GPL licensed.

@devinacker
Copy link
Owner

Thanks for looking into this; I still hadn't had time to set up a fresh Linux dev environment for myself.

P.S. it seems this repo doesn't have a license. I don't think this is allowed since bsnes is GPL licensed.

The license is specifically mentioned as GPLv2 in the readme, and the license text is viewable within bsnes-plus itself, same as the version of bsnes that it's originally based on.

@devinacker devinacker merged commit 58ae61d into devinacker:master Feb 4, 2023
@TheKodeToad
Copy link
Contributor Author

Oops, sorry! Most repos don't put the license there so I never looked.

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

Successfully merging this pull request may close these issues.

bsnes-plus randomly turning on airplane mode
2 participants