diff options
| author | Drashna Jaelre <drashna@live.com> | 2018-01-01 14:21:01 -0800 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2018-01-01 17:21:01 -0500 |
| commit | 17200f47123b839ee0a5e4f2dfd33a00dff09e90 (patch) | |
| tree | 46a6be6e61361e1f548daa1ce6cb461f5c291fee /users/drashna/readme.md | |
| parent | eb903c7623f97ecd51a0fe4a0ca911bdcbc204cf (diff) | |
| download | qmk_firmware-17200f47123b839ee0a5e4f2dfd33a00dff09e90.tar.gz qmk_firmware-17200f47123b839ee0a5e4f2dfd33a00dff09e90.zip | |
Clean up and tweaks of drashna keymaps and userspace (#2200)
* Minor tweaks
modified: users/drashna/drashna.c
* Fix Workman ASCII art
* Add OSM for shifts
* Make Viterbi's 00 code consistant
* Minor Cleanup off Userspace
* Change Tapping Term on Ergodox
* Re-add EEPROM code
* Minor updates and tweaks
* Use QMK_H variables to make keymaps more universal
* Forgot 'break;' for covecube layer
* Tweak Viterbi files now that I have hands on
* Add secrets to Ergodox
* RGB tweaks to Viterbi
* Viterbi RGB layout tweeks
* Minor tweaks
* Add One Shot Mod tap toggle
* Add Faux Clicky to Viterbi, and disable controller's LEDs
* Minor tweaks
* Move D3 keycode defines into userspace
* Updated Userspace Readme
Diffstat (limited to 'users/drashna/readme.md')
| -rw-r--r-- | users/drashna/readme.md | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/users/drashna/readme.md b/users/drashna/readme.md index 0523be2a6..e77948ea9 100644 --- a/users/drashna/readme.md +++ b/users/drashna/readme.md | |||
| @@ -4,19 +4,26 @@ Overview | |||
| 4 | This is my personal userspace file. Most of my code exists here, as it's heavily shared. | 4 | This is my personal userspace file. Most of my code exists here, as it's heavily shared. |
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | Custom handlers | 7 | Custom userspace handlers |
| 8 | --------------- | 8 | ------------------------- |
| 9 | |||
| 10 | Specifically QMK works by using customized handlers for everything. This allows for multiple levels of customization. | ||
| 11 | |||
| 12 | `matrix_scan` calls `matrix_scan_quantum`, which alls `matrix_scan_kb`, which calls `matrix_scan_user`. | ||
| 13 | `process_record` calls a bunch of stuff, but eventually calls `process_record_kb` which calls `process_record_user` | ||
| 14 | The same goes for `matrix_init`, `layer_state_set`, `led_set`, and a few other functions. | ||
| 9 | 15 | ||
| 10 | All (most) `_user` functions are handled here instead. To allow keyboard specific configuration, I've created `_keymap` functions that can be called by the keymap.c files instead. | 16 | All (most) `_user` functions are handled here instead. To allow keyboard specific configuration, I've created `_keymap` functions that can be called by the keymap.c files instead. |
| 11 | 17 | ||
| 12 | This allows for keyboard specific configuration while maintaining the ability to customize the board. | 18 | This allows for keyboard specific configuration while maintaining the ability to customize the board. |
| 13 | 19 | ||
| 14 | My Ergodox EZ Keymap is a good example of this, as it uses the LEDs as modifier indicators. | 20 | My [Ergodox EZ Keymap](https://github.com/qmk/qmk_firmware/blob/master/keyboards/ergodox_ez/keymaps/drashna/keymap.c#L399) is a good example of this, as it uses the LEDs as modifier indicators. |
| 21 | |||
| 15 | 22 | ||
| 16 | Custom Keycodes | 23 | Custom Keycodes |
| 17 | --------------- | 24 | --------------- |
| 18 | 25 | ||
| 19 | Keycods are defined in the drashna.h file and need to be included in the keymap.c files, so that they can be used there. | 26 | Keycodes are defined in the drashna.h file and need to be included in the keymap.c files, so that they can be used there. |
| 20 | 27 | ||
| 21 | A bunch of macros are present and are only included on boards that are not the Ergodox EZ or Orthodox, as they are not needed for those boards. | 28 | A bunch of macros are present and are only included on boards that are not the Ergodox EZ or Orthodox, as they are not needed for those boards. |
| 22 | 29 | ||
