diff options
author | Stefan Kerkmann <[email protected]> | 2023-04-03 10:33:45 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-03 18:33:45 +1000 |
commit | fcf8b804ed95a98561bd4c1d6c85604be0f7cc7b (patch) | |
tree | 6b6917d99ced027d614e7b461e1cd1939833a9cd /docs/feature_stenography.md | |
parent | 2d9140af53e4e5bbc5cd50a2b6f3eda20ed8f71e (diff) | |
download | qmk_firmware-fcf8b804ed95a98561bd4c1d6c85604be0f7cc7b.tar.gz qmk_firmware-fcf8b804ed95a98561bd4c1d6c85604be0f7cc7b.zip |
[Core] Refactor `keyevent_t` for 1ms timing resolution (#15847)
Diffstat (limited to 'docs/feature_stenography.md')
-rw-r--r-- | docs/feature_stenography.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_stenography.md b/docs/feature_stenography.md index 62d4dabf81..df4c9c6ad3 100644 --- a/docs/feature_stenography.md +++ b/docs/feature_stenography.md @@ -138,7 +138,7 @@ bool post_process_steno_user(uint16_t keycode, keyrecord_t *record, steno_mode_t This function is called after a key has been processed, but before any decision about whether or not to send a chord. This is where to put hooks for things like, say, live displays of steno chords or keys. -If `IS_PRESSED(record->event)` is false, and `n_pressed_keys` is 0 or 1, the chord will be sent shortly, but has not yet been sent. This relieves you of the need of keeping track of where a packet ends and another begins. +If `record->event.pressed` is false, and `n_pressed_keys` is 0 or 1, the chord will be sent shortly, but has not yet been sent. This relieves you of the need of keeping track of where a packet ends and another begins. The `chord` argument contains the packet of the current chord as specified by the protocol in use. This is *NOT* simply a list of chorded steno keys of the form `[STN_E, STN_U, STN_BR, STN_GR]`. Refer to the appropriate protocol section of this document to learn more about the format of the packets in your steno protocol/mode of choice. |