]> git.donarmstrong.com Git - qmk_firmware.git/commit
Overhaul Unicode Common functionality (#4325)
authorDrashna Jaelre <drashna@live.com>
Wed, 19 Dec 2018 16:39:24 +0000 (08:39 -0800)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Wed, 19 Dec 2018 16:39:24 +0000 (08:39 -0800)
commitfdeec296369c0995bad1117e50946b2df84f35e4
treec20ca5d0e302b189298d37b3abb97c4f37f5b606
parent40bf3a2ce9ec781cc2ff7218f909ffdbece44e97
Overhaul Unicode Common functionality (#4325)

* Standardize the Unicode EEPROM code

* Remove unicode init from process_record_* functions

* Add unicode init to where it belongs: matrix_init_quantum

* Move Unicode proccessing to unicode common

* Add audio feedback to input mode keys to drive konstantin up a wall

* Tap_code cleanup

* Update keycodes

* Update unicode documentation

* Update unicode keycodes for consistency/easier merge

* Add Audio Feedback section

* Remove Functions from feature page

And link to the file instead.  Link to specific lines later on.

* Fix spacing

Co-Authored-By: drashna <drashna@live.com>
* Because I missed it!

Co-Authored-By: drashna <drashna@live.com>
* Fix spacing

Co-Authored-By: drashna <drashna@live.com>
* SPAAAAAAAAAACing

Co-Authored-By: drashna <drashna@live.com>
* Add BSD for future compatibility

* Thought I fixed that!

Co-Authored-By: drashna <drashna@live.com>
* non-breaking

Co-Authored-By: drashna <drashna@live.com>
* Considered that

Co-Authored-By: drashna <drashna@live.com>
* Yuuup

Co-Authored-By: drashna <drashna@live.com>
* consistency

Co-Authored-By: drashna <drashna@live.com>
* white spaces .... copied from elsewhere

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* Update keycode defines

* Fix Linux Song

* Update all of the songs

* Cleanup

* Move and update check to ensure only one unicode method is enabled

* Update quantum/quantum_keycodes.h

* Update documentation

* Wordsmithing and cleanup

* Format unicode_common (#13)

* 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

* Steal vomindoraan's input mode documentation

Co-Authored-By: vomindoraan (vomindoraan@gmail.com)
* Willingly give Drashna the rest of my Unicode doc improvements

* Wordsmithing

Co-Authored-By: drashna <drashna@live.com>
* remove merge artifacts

* Unicode common cleanup (#17)

* Standardize the Unicode EEPROM code

* Remove unicode init from process_record_* functions

* Add unicode init to where it belongs: matrix_init_quantum

* Move Unicode proccessing to unicode common

* Add audio feedback to input mode keys to drive konstantin up a wall

* Tap_code cleanup

* Update keycodes

* Update unicode documentation

* Update unicode keycodes for consistency/easier merge

* Add Audio Feedback section

* Remove Functions from feature page

And link to the file instead.  Link to specific lines later on.

* Fix white spaces

Co-Authored-By: drashna <drashna@live.com>
* Fix spacing

Co-Authored-By: drashna <drashna@live.com>
* Because I missed it!

Co-Authored-By: drashna <drashna@live.com>
* Fix spacing

Co-Authored-By: drashna <drashna@live.com>
* SPAAAAAAAAAACing

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* Add BSD for future compatibility

* Thought I fixed that!

Co-Authored-By: drashna <drashna@live.com>
* non-breaking

Co-Authored-By: drashna <drashna@live.com>
* Considered that

Co-Authored-By: drashna <drashna@live.com>
* Yuuup

Co-Authored-By: drashna <drashna@live.com>
* consistency

Co-Authored-By: drashna <drashna@live.com>
* white spaces .... copied from elsewhere

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* Update keycode defines

* Fix Linux Song

* Update all of the songs

* Cleanup

* Move and update check to ensure only one unicode method is enabled

* Update quantum/quantum_keycodes.h

* Update documentation

* Wordsmithing and cleanup

* Format unicode_common (#13)

* 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

* Steal vomindoraan's input mode documentation

Co-Authored-By: vomindoraan (vomindoraan@gmail.com)
* Willingly give Drashna the rest of my Unicode doc improvements

* Wordsmithing

Co-Authored-By: drashna <drashna@live.com>
* Rearrange process_unicode_common functions

* Make Unicode input mode constants (UC_*) an enum

* Simplify unicode_input_start/finish code

* Make the key used for WinCompose configurable

* Remove UC_OSX_RALT in favor of setting the key with UNICODE_OSX_KEY

* Update Unicode input mode doc

* Add descriptions and rearrange definitions in process_unicode_common.h

* Add registry command to Unicode docs + misc updates

* Reword an explanation in Unicode docs

* Add TODO comment

* Remove trailing whitespace

* Improve Cycling documentation

* Add Unicode Input method Cycling support (#19)

* Standardize the Unicode EEPROM code

* Remove unicode init from process_record_* functions

* Add unicode init to where it belongs: matrix_init_quantum

* Move Unicode proccessing to unicode common

* Add audio feedback to input mode keys to drive konstantin up a wall

* Tap_code cleanup

* Update keycodes

* Update unicode documentation

* Update unicode keycodes for consistency/easier merge

* Add Audio Feedback section

* Remove Functions from feature page

And link to the file instead.  Link to specific lines later on.

* Fix white spaces

Co-Authored-By: drashna <drashna@live.com>
* Fix spacing

Co-Authored-By: drashna <drashna@live.com>
* Because I missed it!

Co-Authored-By: drashna <drashna@live.com>
* Fix spacing

Co-Authored-By: drashna <drashna@live.com>
* SPAAAAAAAAAACing

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* Add BSD for future compatibility

* Thought I fixed that!

Co-Authored-By: drashna <drashna@live.com>
* non-breaking

Co-Authored-By: drashna <drashna@live.com>
* Considered that

Co-Authored-By: drashna <drashna@live.com>
* Yuuup

Co-Authored-By: drashna <drashna@live.com>
* consistency

Co-Authored-By: drashna <drashna@live.com>
* white spaces .... copied from elsewhere

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* white spaces

Co-Authored-By: drashna <drashna@live.com>
* Update keycode defines

* Fix Linux Song

* Update all of the songs

* Cleanup

* Move and update check to ensure only one unicode method is enabled

* Update quantum/quantum_keycodes.h

* Update documentation

* Wordsmithing and cleanup

* Format unicode_common (#13)

* 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

* Steal vomindoraan's input mode documentation

Co-Authored-By: vomindoraan (vomindoraan@gmail.com)
* Willingly give Drashna the rest of my Unicode doc improvements

* Wordsmithing

Co-Authored-By: drashna <drashna@live.com>
* Rearrange process_unicode_common functions

* Make Unicode input mode constants (UC_*) an enum

* Simplify unicode_input_start/finish code

* Make the key used for WinCompose configurable

* Remove UC_OSX_RALT in favor of setting the key with UNICODE_OSX_KEY

* Update Unicode input mode doc

* Add descriptions and rearrange definitions in process_unicode_common.h

* Add registry command to Unicode docs + misc updates

* Reword an explanation in Unicode docs

* Add TODO comment

* Add cycle_unicode_input_mode and UNICODE_SELECTED_MODES macro

* Add an option for making cycle changes persistent

* Add debug prints to functions that change input_mode

* Use cycle_unicode_input_mode in whitefox/konstantin

* Add persist_unicode_input_mode function

* Add offset to cycle to allow stepping in reverse

* Add keycodes: UNICODE_MODE_FORWARD, UNICODE_MODE_REVERSE

Aliases: UC_MOD, UC_RMOD (respectively)

* REVERT ME: Undo changes to whitefox/konstantin to avoid conflicts

* Fix wrong constant name

* Revert "REVERT ME: Undo changes to whitefox/konstantin to avoid conflicts"

This reverts commit 42676bf251fc8e3823f5e614dad6e510ba47a2f3.

* Change dprintf text

* Give selected modes priority over EEPROM when !UNICODE_CYCLE_PERSIST

* Remove trailing whitespace

* Cleanup of RALT code and unicode compilation stuff

* Remove else for unicode handling
13 files changed:
docs/feature_unicode.md
keyboards/whitefox/keymaps/konstantin/config.h
keyboards/whitefox/keymaps/konstantin/keymap.c
quantum/process_keycode/process_ucis.c
quantum/process_keycode/process_ucis.h
quantum/process_keycode/process_unicode.c
quantum/process_keycode/process_unicode.h
quantum/process_keycode/process_unicode_common.c
quantum/process_keycode/process_unicode_common.h
quantum/process_keycode/process_unicodemap.c
quantum/process_keycode/process_unicodemap.h
quantum/quantum.c
quantum/quantum_keycodes.h