Create Custom-Quantum-Functions.md
This commit is contained in:
parent
a0ac0d3cea
commit
2f942c9883
1 changed files with 10 additions and 10 deletions
|
@ -4,7 +4,7 @@ A custom keyboard is about more than sending button presses to your computer. QM
|
||||||
|
|
||||||
We have structured QMK as a hierarchy:
|
We have structured QMK as a hierarchy:
|
||||||
|
|
||||||
* Core
|
* Core (`_quantum`)
|
||||||
* Keyboard/Revision (`_kb`)
|
* Keyboard/Revision (`_kb`)
|
||||||
* Keymap (`_user`)
|
* Keymap (`_user`)
|
||||||
|
|
||||||
|
@ -64,14 +64,14 @@ The `record` variable contains infomation about the actual press:
|
||||||
|
|
||||||
```
|
```
|
||||||
keyrecord_t record {
|
keyrecord_t record {
|
||||||
keyevent_t event {
|
+-keyevent_t event {
|
||||||
keypos_t key {
|
| +-keypos_t key {
|
||||||
uint8_t col
|
| | +-uint8_t col
|
||||||
uint8_t row
|
| | +-uint8_t row
|
||||||
}
|
| | }
|
||||||
bool pressed
|
| +-bool pressed
|
||||||
uint16_t time
|
| +-uint16_t time
|
||||||
}
|
| }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue