From 3064c5a6753bdccb86d446d2cba15f95d372f002 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 8 Aug 2018 11:21:15 -0400 Subject: [PATCH] fix button note number map lookup --- libs/surfaces/launch_control_xl/controllers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/launch_control_xl/controllers.cc b/libs/surfaces/launch_control_xl/controllers.cc index f7c89522da..f14fd00718 100644 --- a/libs/surfaces/launch_control_xl/controllers.cc +++ b/libs/surfaces/launch_control_xl/controllers.cc @@ -267,7 +267,7 @@ LaunchControlXL::track_button_by_number(uint8_t n, uint8_t first, uint8_t middle b = nn_note_button_map.find (first + n); } else { - b = nn_note_button_map.find (middle + n); + b = nn_note_button_map.find (middle + n - 5); } TrackButton* button = 0;