]> git.donarmstrong.com Git - qmk_firmware.git/commit
Added bending to MIDI (#2740)
authoradiron <adi@adiron.me>
Thu, 19 Apr 2018 02:22:08 +0000 (05:22 +0300)
committerJack Humbert <jack.humb@gmail.com>
Thu, 19 Apr 2018 02:22:08 +0000 (22:22 -0400)
commit3d3c093173f6e9a838671bd7484b3a11dc564c1a
tree7d3f5a5781e18ce5ec306b554c10851638d9685e
parenta7fca476866ea7efac69c7519d9666665c9a62a8
Added bending to MIDI (#2740)

This is done via MI_BENDD and MI_BENDU. At the moment the value is
hardcoded and cannot be adjusted (future commit?) and is the max for the
`midi_send_pitchbend` function (up or down).

`MI_BENDD` and `MI_BENDU` both require `#define MIDI_ADVANCED`

MIDI pitch bend was already implemented in `protocol/midi.c`, I merely
added the keycodes to trigger them. :) (thanks to Jack, two years ago
in commit fb4fe52c apparently)
quantum/process_keycode/process_midi.c
quantum/quantum_keycodes.h