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

Move mousekey keycodes into newly freed up keycode block #16076

Merged
merged 2 commits into from
Sep 17, 2022

Conversation

drashna
Copy link
Member

@drashna drashna commented Jan 27, 2022

Description

The reason for this move is because ACTION LAYER reserves 0xE0-0xFF for internal usage.
Namely, for other layer functions. This means that LT is limited to 0x00-0xDF keycodes,
and effectively blocks mousekeys from being used.

By moving the mousekeys, this allows them to be used as part of LT.

This leaves C0-CC usable, still.

Types of Changes

  • Core
  • Enhancement/optimization

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@drashna drashna requested review from fauxpark and a team July 18, 2022 07:13
The reason for this move is because ACTION LAYER reserves 0xE0-0xFF for internal usage.
Namely, for other layer functions.  This means that LT is limited to 0x00-0xDF keycodes,
and effectively blocks mousekeys from being used.

By moving the mousekeys, this allows them to be used as part of LT.
@tzarc tzarc merged commit d67d388 into qmk:develop Sep 17, 2022
@drashna drashna deleted the core/move_mousekey_value branch September 17, 2022 15:18
@heyou101010
Copy link

Does this mean with develop branch I can use LT on my Ploopy mouse, @drashna ? 🤯

@drashna
Copy link
Member Author

drashna commented Sep 27, 2022

Does this mean with develop branch I can use LT on my Ploopy mouse, @drashna ? 🤯

That's explicitly what it means!

@sigprof sigprof mentioned this pull request Oct 24, 2022
17 tasks
ramonimbao pushed a commit to ramonimbao/qmk_firmware that referenced this pull request Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants