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

[feature] Fn+F12 toggles airplane/offline mode #1765

Closed
nicola02nb opened this issue Dec 20, 2023 · 8 comments
Closed

[feature] Fn+F12 toggles airplane/offline mode #1765

nicola02nb opened this issue Dec 20, 2023 · 8 comments

Comments

@nicola02nb
Copy link

Is your feature request related to a problem? Please describe.
On my Zephyrus GA502IU there is an airplane/offline button, but when I'll use it, nothing happends.

Describe the solution you'd like
I'll need that when she shortcut occurs, it toggles the aiplane/offline mode in windows.

Describe alternatives you've considered
I don't see any alternatives, rahter than not using the key combination.

Additional context
20231220_180027

@seerge
Copy link
Owner

seerge commented Dec 20, 2023

@nicola02nb that key just produces a windows hotkey for airplane mode on hardware level :) app is not involved here anyhow as it works w/o app

@seerge seerge closed this as completed Dec 20, 2023
@nicola02nb
Copy link
Author

@seerge I dont think so.. because if I lounch all Asus services the key will work.

Sorry for desagreing with you, but thats how it behaves this button on my laptop.

@seerge
Copy link
Owner

seerge commented Dec 21, 2023

@nicola02nb can you include a log at least as it was asked in an issue template ? and check what keycode does Fn+F12 produce in a log

@nicola02nb
Copy link
Author

@seerge sorry for not attatching it, but it wasn't mentioned in the Feature template.

Thats the log file:
log.txt

The key pressed is No. 136

@seerge
Copy link
Owner

seerge commented Dec 21, 2023

@nicola02nb oke, thanks.

Problem is that I don't know what is a windows own hotkey combo to actually toggle airplane mode ON or OFF (to emit it within the app). Are you aware of any ?

Can you check following command in powershell as admin and see if it toggles airplane mode by any accident ?

(Get-WmiObject -Namespace Root/WMI -Class AsusAtkWmi_WMNB).DEVS(0x00100021, 0x88)

seerge added a commit that referenced this issue Dec 21, 2023
@nicola02nb
Copy link
Author

@seerge I don't know any command to toggle it, sorry...

But i just tried the one you just sended me and it works.

Screenshot 2023-12-21 134116

@seerge
Copy link
Owner

seerge commented Dec 21, 2023

@nicola02nb then try this build, it should do the same thing
GHelper.zip

@nicola02nb
Copy link
Author

@seerge Good, it works

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