-
-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
Refactor process_unicode_common code + make keys used for UC_WINC and UC_OSX configurable #4217
Conversation
a685b70
to
c9ace04
Compare
1ce34ce
to
436c6dc
Compare
c23fa63
to
e7ca38f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from what I've flagged in the docs, looks good to me.
e7ca38f
to
8e36e5a
Compare
I've tested this with my existing keymaps that have Unicode in them on all three platforms (many thanks to my coworkers who lent me their Macs!). If anyone else could double-check with their own keymaps, that would be great. |
6a6f74f
to
90585eb
Compare
90585eb
to
ba32b8e
Compare
Can any of the maintainers provide an eta on when this might be merged? A keymap that I'm putting together is heavily reliant on the exact functionality that this PR provides. Cheers! |
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
Co-Authored-By: drashna <[email protected]>
* case alignment * process_record_unicode_common → process_unicode_common * Move song arrays into function where they're used, align preprocessor directives * Swap the order of UC_WIN and UC_BSD * Update Unicode docs * Reorder Unicode mode stuff to match the order of input mode constants * Fix capitalization in doc subtitle * Readd BSD and OSX_RALT songs * Reword BSD note in docs * Readd BSD keycode description * Reword explanation of input on different platforms
Co-Authored-By: vomindoraan ([email protected])
Co-Authored-By: drashna <[email protected]>
These changes have been incorporated into #4325. |
Note: drashna:make_unicode_init has been merged into this as #4325 will likely be merged soon.
If you are reviewing this, click here to view the changes from that branch to this one. Those are the actual changes that this PR will introduce once #4325 is merged.
The old changes are available on vomindoraan:unicode_common_cleanup_backup.
While working on new Unicode features, I noticed some parts of
process_unicode_common.*
were written in a verbose and outdated way. There were also some unnecessary bits, like the unusedstatic uint8_t input_mode
in the header. This PR cleans up that code.I've also made the key used by the WinCompose input mode configurable, as this key can be set by the user in WinCompose options. The default is
KC_RALT
so that existing behavior is preserved by default.I've removed
UC_OSX_RALT
(which worked the same asUC_OSX
, it just sentKC_RALT
instead ofKC_LALT
) in favor of making the sent key configurable.UC_OSX_RALT
wasn't being used in any keymap. The default isKC_LALT
so that existing behavior is preserved by default.The corresponding doc entries have been updated as well.
These changes should not affect existing behavior in any way.
@drashna Please review if you can.
Thanks.