aboutsummaryrefslogtreecommitdiff
path: root/docs/understanding_qmk.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/understanding_qmk.md')
-rw-r--r--docs/understanding_qmk.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/understanding_qmk.md b/docs/understanding_qmk.md
index 0d3d24017..13b6e2ef6 100644
--- a/docs/understanding_qmk.md
+++ b/docs/understanding_qmk.md
@@ -94,11 +94,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
94} 94}
95``` 95```
96 96
97Notice how all of these arguments match up with the first half of the `KEYMAP()` macro from the last section? This is how we take a keycode and map it to our Matrix Scan from earlier. 97Notice how all of these arguments match up with the first half of the `KEYMAP()` macro from the last section? This is how we take a keycode and map it to our Matrix Scan from earlier.
98 98
99##### State Change Detection 99##### State Change Detection
100 100
101The matrix scanning described above tells us the state of the matrix at a given moment, but your computer only wants to know about changes, it doesn't care about the current state. QMK stores the results from the last matrix scan and compares the results from this matrix to determine when a key has been pressed or released. 101The matrix scanning described above tells us the state of the matrix at a given moment, but your computer only wants to know about changes, it doesn't care about the current state. QMK stores the results from the last matrix scan and compares the results from this matrix to determine when a key has been pressed or released.
102 102
103Let's look at an example. We'll hop into the middle of a keyboard scanning loop to find that our previous scan looks like this: 103Let's look at an example. We'll hop into the middle of a keyboard scanning loop to find that our previous scan looks like this:
104 104
@@ -150,7 +150,7 @@ The `process_record()` function itself is deceptively simple, but hidden within
150 * [`bool process_auto_shift(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_auto_shift.c#L47) 150 * [`bool process_auto_shift(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_auto_shift.c#L47)
151 * [`bool process_unicode_map(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_unicodemap.c#L47) 151 * [`bool process_unicode_map(uint16_t keycode, keyrecord_t *record)`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_unicodemap.c#L47)
152 * [Identify and process quantum specific keycodes](https://github.com/qmk/qmk_firmware/blob/master/quantum/quantum.c#L211) 152 * [Identify and process quantum specific keycodes](https://github.com/qmk/qmk_firmware/blob/master/quantum/quantum.c#L211)
153 153
154At any step during this chain of events a function (such as `process_record_kb()`) can `return false` to halt all further processing. 154At any step during this chain of events a function (such as `process_record_kb()`) can `return false` to halt all further processing.
155 155
156<!-- 156<!--