fixed blip (rounding error), other waves, added key selection (left/right)
This commit is contained in:
parent
73853d651a
commit
3e1826a332
2 changed files with 82 additions and 34 deletions
|
@ -195,6 +195,16 @@ bool process_music(uint16_t keycode, keyrecord_t *record) {
|
|||
music_sequence_interval+=10;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (keycode == KC_LEFT) {
|
||||
music_offset--;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (keycode == KC_RIGHT) {
|
||||
music_offset++;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t note = 36;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue