Skip to content

Commit

Permalink
fix: string shown in log for volume control
Browse files Browse the repository at this point in the history
  • Loading branch information
tillt committed Dec 27, 2023
1 parent 80aad58 commit 1474a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KompleteSynthesia/MIDI2HIDController.m
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,10 @@ - (void)receivedEvent:(const int)event value:(int)value
break;
case kKompleteKontrolButtonIdKnob1:
if (value > 0) {
[log logLine:@"KNOB8 -> sending volume up"];
[log logLine:@"KNOB1 -> sending volume up"];
[VirtualEvent triggerAuxKeyEvents:0];
} else if (value < 0) {
[log logLine:@"KNOB8 -> sending volume down"];
[log logLine:@"KNOB1 -> sending volume down"];
[VirtualEvent triggerAuxKeyEvents:1];
}
[_delegate updateVolume:self];
Expand Down

0 comments on commit 1474a47

Please sign in to comment.