add backtick quotes for code snippets

* Added for keycodes, pin numbers, and code snippets. Mostly in tables.
* Enhance documentation readability
* Make automated spell checking easier - aspell automatically ignores these snippets
* fix invalid markdown table in mouse_keys.md
This commit is contained in:
Ryan Rotter
2022-04-24 13:46:49 -05:00
committed by xs5871
parent 1985712637
commit dfa73a8cca
5 changed files with 69 additions and 68 deletions

View File

@@ -1,5 +1,8 @@
# Mouse keys
To enable mouse cursor and/or mouse buttons control from the keyboard add this module to list:
To enable mouse cursor and/or mouse buttons control from the keyboard add this
module to list:
```python
from kmk.modules.mouse_keys import MouseKeys
keyboard.modules.append(MouseKeys())
@@ -7,14 +10,14 @@ keyboard.modules.append(MouseKeys())
# Keycodes
|Keycode | Description |
|---------------|---------------------------|
|MB_LMB |Left mouse button |
|MB_RMB |Right mouse button |
|MB_MMB |Middle mouse button |
|MW_UP |Mouse wheel up |
|MW_DOWN, MW_DN |Mouse wheel down |
|MS_UP |Move mouse cursor up |
|MS_DOWN, MS_DN |Move mouse cursor down |
|MS_LEFT, MS_LT |Move mouse cursor left |
|MS_RIGHT, MS_RT|Move mouse cursor right |
| Keycode | Description |
|---------------------|--------------------------------------|
| `MB_LMB` | Left mouse button |
| `MB_RMB` | Right mouse button |
| `MB_MMB` | Middle mouse button |
| `MW_UP` | Mouse wheel up |
| `MW_DOWN`, `MW_DN` | Mouse wheel down |
| `MS_UP` | Move mouse cursor up |
| `MS_DOWN`, `MS_DN` | Move mouse cursor down |
| `MS_LEFT`, `MS_LT` | Move mouse cursor left |
| `MS_RIGHT`, `MS_RT` | Move mouse cursor right |