MIDI2LR icon indicating copy to clipboard operation
MIDI2LR copied to clipboard

Next Profile switching for ON and OFF

Open losinternet opened this issue 10 years ago • 3 comments

I have a midi command to switch to Next profile.

This command is being executed on both the on and off change of the button, causing the profile to skip ahead by 2.

losinternet avatar Feb 07 '16 21:02 losinternet

I have 4 profiles in the folder and each profile there is a CC for NEXT PROFILE. All profiles use the same CC number and channel.

losinternet avatar Feb 07 '16 21:02 losinternet

Looks like this was a previous bug in #141

solution appears to be the same change line 111 in profilemanger.cpp to following: if ((value != 127) || !m_commandMap->messageExistsInMap(cc)) // if ((value != 0 && value != 127) || !m_commandMap->messageExistsInMap(cc))

losinternet avatar Feb 07 '16 22:02 losinternet

Thanks. Don't know how that reverted to the old way. Fixed in next release.

rsjaffe avatar Feb 08 '16 21:02 rsjaffe