Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Support => Topic started by: mpolitzer on August 10, 2016, 01:28:31

Title: Problems with the ADD shortcut
Post by: mpolitzer on August 10, 2016, 01:28:31
Hi,
I found out that the ADD key was not working on linux. In "sdl/SDL_KeyTranslation.cpp":line 89 I added
   SDLK_BACKQUOTE, VK_ADD,
and that seemed to do the job. (Checking again after some sleep and aparently not...)

Changed to this:

diff -r milkytracker-0.90.86/src/tracker/PatternEditorControlKeyboard.cpp milkytracker-0.90.86-master/src/tracker/PatternEditorControlKeyboard.cpp
73,77d72
<    eventKeyDownBindingsMilkyTracker->addBinding(0xBF, KeyModifierSHIFT,
<          &PatternEditorControl::eventKeyDownBinding_SC_IncreaseRowInsertAdd);
<    eventKeyDownBindingsMilkyTracker->addBinding(188, KeyModifierSHIFT,
<          &PatternEditorControl::eventKeyDownBinding_SC_DecreaseRowInsertAdd);
<

so that '<' and '>' decrease and increase the ADD value.

Just passing by to let you guys know.