Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: Problems with the ADD shortcut  (Read 5407 times)

0 Members and 1 Guest are viewing this topic.

mpolitzer

  • New User
  • Offline Offline
  • Posts: 1
    • View Profile
Problems with the ADD shortcut
« 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.
« Last Edit: August 10, 2016, 13:24:09 by mpolitzer »
Logged
Pages: [1]   Go Up