diff options
| -rw-r--r-- | README.md | 25 | ||||
| -rw-r--r-- | common/command.c | 1 |
2 files changed, 1 insertions, 25 deletions
| @@ -102,7 +102,6 @@ Following commands can be also executed with `Magic` + key. In console mode `Mag | |||
| 102 | x: toggle matrix debug | 102 | x: toggle matrix debug |
| 103 | k: toggle keyboard debug | 103 | k: toggle keyboard debug |
| 104 | m: toggle mouse debug | 104 | m: toggle mouse debug |
| 105 | p: toggle print enable | ||
| 106 | v: print device version & info | 105 | v: print device version & info |
| 107 | t: print timer count | 106 | t: print timer count |
| 108 | s: print status | 107 | s: print status |
| @@ -202,29 +201,7 @@ Debuging | |||
| 202 | -------- | 201 | -------- |
| 203 | Use PJRC's `hid_listen` to see debug messages. You can use the tool for debug even if firmware use LUFA stack. | 202 | Use PJRC's `hid_listen` to see debug messages. You can use the tool for debug even if firmware use LUFA stack. |
| 204 | 203 | ||
| 205 | You will see output from firmware like this. | 204 | You can use xprintf() to display debug info on `hid_listen`, see `common/xprintf.h`. |
| 206 | |||
| 207 | r/c 01234567 | ||
| 208 | 00: 00000000 | ||
| 209 | 01: 00000000 | ||
| 210 | 02: 00000000 | ||
| 211 | 03: 00000000 | ||
| 212 | 04: 00000000 | ||
| 213 | 05: 00000000 | ||
| 214 | 06: 00000000 | ||
| 215 | 07: 00000000 | ||
| 216 | |||
| 217 | ---- action_exec: start ----- | ||
| 218 | EVENT: 0307u(22511) | ||
| 219 | Tapping: Tap release(2) | ||
| 220 | ACTION: ACT_LAYER[5:2C] | ||
| 221 | LAYER_PRESSED: Tap: unregister_code | ||
| 222 | TAPPING_KEY=0307u(22511):2 | ||
| 223 | processed: 0307u(22511):2 | ||
| 224 | |||
| 225 | Tapping: End(Timeout after releasing last tap): FFFFu(22715) | ||
| 226 | TAPPING_KEY=0000u(0):0 | ||
| 227 | |||
| 228 | 205 | ||
| 229 | 206 | ||
| 230 | 207 | ||
diff --git a/common/command.c b/common/command.c index 216ad0612..b79257947 100644 --- a/common/command.c +++ b/common/command.c | |||
| @@ -106,7 +106,6 @@ static void command_common_help(void) | |||
| 106 | print("x: toggle matrix debug\n"); | 106 | print("x: toggle matrix debug\n"); |
| 107 | print("k: toggle keyboard debug\n"); | 107 | print("k: toggle keyboard debug\n"); |
| 108 | print("m: toggle mouse debug\n"); | 108 | print("m: toggle mouse debug\n"); |
| 109 | print("p: toggle print enable\n"); | ||
| 110 | print("v: print device version & info\n"); | 109 | print("v: print device version & info\n"); |
| 111 | print("t: print timer count\n"); | 110 | print("t: print timer count\n"); |
| 112 | print("s: print status\n"); | 111 | print("s: print status\n"); |
