From: <sag...@us...> - 2014-12-31 00:52:02
|
Revision: 4688 http://sourceforge.net/p/modplug/code/4688 Author: saga-games Date: 2014-12-31 00:51:56 +0000 (Wed, 31 Dec 2014) Log Message: ----------- [Mod] Add default shortcuts for loop zooming [Fix] Apparently, in some cases I do not understand some wrong values were written into keybindings files (only in release builds? compiler bug?) Modified Paths: -------------- trunk/OpenMPT/mptrack/CommandSet.cpp trunk/OpenMPT/mptrack/res/defaultKeybindings.mkb Modified: trunk/OpenMPT/mptrack/CommandSet.cpp =================================================================== --- trunk/OpenMPT/mptrack/CommandSet.cpp 2014-12-31 00:36:43 UTC (rev 4687) +++ trunk/OpenMPT/mptrack/CommandSet.cpp 2014-12-31 00:51:56 UTC (rev 4688) @@ -1516,7 +1516,7 @@ if (!commands[cmd].isHidden) { fprintf(outStream, "%d:%d:%d:%d:%d\t\t//%s: %s (%s)\n", - ctx, commands[cmd].UID, kc.Modifier(), kc.KeyCode(), kc.EventType(), + ctx, commands[cmd].UID, kc.Modifier(), kc.KeyCode(), kc.EventType().GetRaw(), GetCommandText((CommandID)cmd), kc.GetKeyText(), kc.GetKeyEventText()); } Modified: trunk/OpenMPT/mptrack/res/defaultKeybindings.mkb =================================================================== --- trunk/OpenMPT/mptrack/res/defaultKeybindings.mkb 2014-12-31 00:36:43 UTC (rev 4687) +++ trunk/OpenMPT/mptrack/res/defaultKeybindings.mkb 2014-12-31 00:51:56 UTC (rev 4688) @@ -290,6 +290,10 @@ 8:1386:0:107:1 //Zoom Out: NUM PLUS (KeyDown) 8:1387:0:109:1 //Zoom In: NUM SUB (KeyDown) 8:1882:0:32:1 //Zoom into Selection: Space (KeyDown) +8:1916:2:49:1 //Center loop start in view: Ctrl+1 (KeyDown) +8:1917:2:50:1 //Center loop end in view: Ctrl+2 (KeyDown) +8:1918:2:51:1 //Center sustain loop start in view: Ctrl+3 (KeyDown) +8:1919:2:52:1 //Center sustain loop end in view: Ctrl+4 (KeyDown) 8:1915:2:82:1 //Resample: Ctrl+R (KeyDown) 8:1784:2:73:1 //Invert Sample Phase: Ctrl+I (KeyDown) 8:1785:2:85:1 //Signed / Unsigned Conversion: Ctrl+U (KeyDown) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |