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

add hotkey_custom flag from ioctl + scripts rework #4

Merged
merged 5 commits into from
Jul 14, 2023
Merged

Conversation

Apaczer
Copy link
Member

@Apaczer Apaczer commented Jul 4, 2023

  • use MIYOO_KBD_SET_HOTKEY
  • change default hotkey bindings to be inline with kernel's one
  • restore LR/R2 setting
  • update screenshots script
  • update poweroff script
  • add 22 & 23 kill actions
  • use /mnt/options.cfg with HOTKEY_CUSTOM=0/1 to disable/enable daemon`s custom or default hotkeys

- MIYOO_KBD_SET_HOTKEY
- change default hotkey bindings to be inline with kernel's one
- restore LR/R2 values
- update screenshots hotkey
- add 22 & 23 kill actions
add force kill and swapoff
- read config files on every daemon call to update value on callback.
- default hotkey_custom should be true(1)
- the strcmp() needs '\n' to detect trailing newline, otherwise one would've to call  strcspn() to get rid of it.
@TriForceX
Copy link
Member

looks fine to me!

@Apaczer
Copy link
Member Author

Apaczer commented Jul 13, 2023

Will have to make gmenu2x code inline with new BACKLID/VOLUME read from deamon, a few details left to do mostly for VOL control (MiyooCFW/gmenu2x@master...blid), then we'll be ready to merge!

@Apaczer Apaczer merged commit f389049 into master Jul 14, 2023
4 checks passed
@Apaczer Apaczer deleted the custom_hk branch July 14, 2023 17:43
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.

2 participants