Move docs/ to docs/en/
It allows comparison between the directories and helps translations.
This commit is contained in:
committed by
Kyle Brown
parent
885359a8f4
commit
0ab6887fbe
18
docs/en/midi.md
Normal file
18
docs/en/midi.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# MIDI
|
||||
The MIDI module adds keymap entries for sending MIDI data streams. It will require adding the `adafruit_midi` library from the [Adafruit CircuitPython Bundle](https://circuitpython.org/libraries) to your device's folder.
|
||||
Add it to your keyboard's modules list with:
|
||||
|
||||
```python
|
||||
from kmk.modules.midi import MidiKeys
|
||||
keyboard.modules.append(MidiKeys())
|
||||
```
|
||||
## Keycodes
|
||||
|
||||
|Key |Description |
|
||||
|-------------------------------|----------------------------------------------------------|
|
||||
|`KC.MIDI_CC(ctrl, val)` |Sends a ControlChange message |
|
||||
|`KC.MIDI_NOTE(note, velo)` |Sends a Note message |
|
||||
|`KC.MIDI_PB(val)` |Sends a Pitch Wheel message |
|
||||
|`KC.MIDI_PC(program)` |Sends a Program Change message |
|
||||
|`KC.MIDI_START()` |Sends a Start message |
|
||||
|`KC.MIDI_STOP()` |Sends a Stop message |
|
Reference in New Issue
Block a user