diff options
author | Ante Laurijssen <antelaurijssen@gmail.com> | 2017-05-15 22:56:33 -0400 |
---|---|---|
committer | Ante Laurijssen <antelaurijssen@gmail.com> | 2017-05-15 22:56:33 -0400 |
commit | 814b570ba1f2f9a12996c50844b7c8861ec1e919 (patch) | |
tree | d7ed29eeac65c159e5bca57516fb2891e576dde0 /keyboards/s60_x/keymaps | |
parent | ee0b34feaf99debbc47fe736001181dffa3cd6b1 (diff) |
Working on keymap.c file...
Diffstat (limited to 'keyboards/s60_x/keymaps')
-rw-r--r-- | keyboards/s60_x/keymaps/bluebear/keymap.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/s60_x/keymaps/bluebear/keymap.c b/keyboards/s60_x/keymaps/bluebear/keymap.c index f963043c19..124c482b2c 100644 --- a/keyboards/s60_x/keymaps/bluebear/keymap.c +++ b/keyboards/s60_x/keymaps/bluebear/keymap.c @@ -9,15 +9,16 @@ enum keyboard_layers { MIDI, //Midi Layer }; -// Midi Chord Keycodes +// Midi Chord Keycodes +/* bool midi_chord(uint8_t mode, uint16_t root); enum midi_chord_modes { major = 0, minor, }; - +*/ enum midi_chord_keycodes { //Major Chords @@ -160,6 +161,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; +/* // Midi Chord Function bool midi_chord(uint8_t mode, uint16_t root) { @@ -199,7 +201,7 @@ bool midi_chord(uint8_t mode, uint16_t root) { uint8_t minor_third = midi_compute_note(root) + 3; uint8_t fifth = midi_compute_note(root) + 7; midi_send_noteon(&midi_device, channel, root_note, velocity); - midi_send_noteon(&midi_device, channel, major_third, velocity); + midi_send_noteon(&midi_device, channel, minor_third, velocity); midi_send_noteon(&midi_device, channel, fifth, velocity); tone_status[tone] = root_note; } @@ -219,4 +221,4 @@ bool midi_chord(uint8_t mode, uint16_t root) { }; return true; }; - +*/ |