]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Create Custom-Quantum-Functions.md
authorJack Humbert <jack.humb@gmail.com>
Sat, 10 Jun 2017 16:23:04 +0000 (12:23 -0400)
committerGitHub <noreply@github.com>
Sat, 10 Jun 2017 16:23:04 +0000 (12:23 -0400)
docs/Custom-Quantum-Functions.md

index 1c4929e5a84a4b1e28ddde3eb6c2ebe2068f9c0b..0fb1c163b7d21e7e117e3050bbbc06184fdbb796 100644 (file)
@@ -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:
 
-* Core
+* Core (`_quantum`)
   * Keyboard/Revision (`_kb`)
     * Keymap (`_user`)
 
@@ -64,14 +64,14 @@ The `record` variable contains infomation about the actual press:
 
 ```
 keyrecord_t record {
-  keyevent_t event {
-    keypos_t key {
-      uint8_t col
-      uint8_t row
-    }
-    bool     pressed
-    uint16_t time
-  }
++-keyevent_t event {
+| +-keypos_t key {
+| | +-uint8_t col
+| | +-uint8_t row
+| | }
+| +-bool     pressed
+| +-uint16_t time
+| }
 }
 ```
 
@@ -120,4 +120,4 @@ void led_set_kb(uint8_t usb_led) {
         PORTB &= ~(1<<4);
     }
 }
-```
\ No newline at end of file
+```