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

[question] Can it work for power key? #12

Closed
Freed-Wu opened this issue Feb 23, 2024 · 7 comments
Closed

[question] Can it work for power key? #12

Freed-Wu opened this issue Feb 23, 2024 · 7 comments

Comments

@Freed-Wu
Copy link

I try to swap power key and forward del key because I don't want to get delete by pressing Fn + power.

IMG20240223164613

Screenshot from 2024-02-23 16-46-56

As a result, delete have been remapped to power, however, power still be power, which will wake up/sleep. Can this program work for power key?

@ris58h
Copy link
Owner

ris58h commented Feb 23, 2024

Sorry I just don't know.

@Freed-Wu
Copy link
Author

I doubt the key code of the keyboard is AVR_POWER or STB_POWER not POWER. How to see the keycode of a keyboard?

And AVR, STB seem to be missing due to ˋ#5

@ris58h
Copy link
Owner

ris58h commented Feb 24, 2024

How to see the keycode of a keyboard?

From the ExKeyMo docs:

Some keyboards have media-keys or other keys that don't work as expected. To remap them you should find out what scan codes they produce. There are several Android apps to do it. For example Gamepad tester

@ris58h
Copy link
Owner

ris58h commented Feb 24, 2024

Seems like there are two POWER keys in the dropdown (codes 116 and 152). Could you try another one?

@Freed-Wu
Copy link
Author

You are right! 116 is correct. Not 152. Thanks!

@Freed-Wu
Copy link
Author

Seems like there are two POWER keys

I advice to change keys' name to key_name (key_code) to let user distinguish them. For example, two power are POWER (116) and POWER (152)

@Freed-Wu
Copy link
Author

And two power can be added to README.md and docs to let people notice it.

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