aboutsummaryrefslogtreecommitdiff
path: root/docs/Custom-Quantum-Functions.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Custom-Quantum-Functions.md')
-rw-r--r--docs/Custom-Quantum-Functions.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/Custom-Quantum-Functions.md b/docs/Custom-Quantum-Functions.md
index 1c4929e5a..0fb1c163b 100644
--- a/docs/Custom-Quantum-Functions.md
+++ b/docs/Custom-Quantum-Functions.md
@@ -4,7 +4,7 @@ A custom keyboard is about more than sending button presses to your computer. QM
4 4
5We have structured QMK as a hierarchy: 5We have structured QMK as a hierarchy:
6 6
7* Core 7* Core (`_quantum`)
8 * Keyboard/Revision (`_kb`) 8 * Keyboard/Revision (`_kb`)
9 * Keymap (`_user`) 9 * Keymap (`_user`)
10 10
@@ -64,14 +64,14 @@ The `record` variable contains infomation about the actual press:
64 64
65``` 65```
66keyrecord_t record { 66keyrecord_t record {
67 keyevent_t event { 67+-keyevent_t event {
68 keypos_t key { 68| +-keypos_t key {
69 uint8_t col 69| | +-uint8_t col
70 uint8_t row 70| | +-uint8_t row
71 } 71| | }
72 bool pressed 72| +-bool pressed
73 uint16_t time 73| +-uint16_t time
74 } 74| }
75} 75}
76``` 76```
77 77
@@ -120,4 +120,4 @@ void led_set_kb(uint8_t usb_led) {
120 PORTB &= ~(1<<4); 120 PORTB &= ~(1<<4);
121 } 121 }
122} 122}
123``` \ No newline at end of file 123```