Music Production > ChibiTracker Bug Reports
numpad input not functional on 'orders'
(1/1)
dracflamloc:
must use top row of keyboard numbers to input 'orders'. numpad does work in all other places i've tried.
TiM:
Really good tracker but same problem for me :(
TiM:
hello again.
i love this tracker so i modify the code and it's work...
it's dirty, but easy to explain in this forum.
so just modify the interface/order_list_editor.cpp near line 221
change :
--- Code: ---bool OrderListEditor::key(unsigned long p_unicode, unsigned long p_scan_code,bool p_press,bool p_repeat,int p_modifier_mask) {
if (!p_press)
return true;
KeyBindList kbind=KeyBind::get_bind( p_scan_code );
if (kbind==KB_MAX)
return false;
bool capture=false;
--- End code ---
with :
--- Code: ---bool OrderListEditor::key(unsigned long p_unicode, unsigned long p_scan_code,bool p_press,bool p_repeat,int p_modifier_mask) {
if (!p_press)
return true;
KeyBindList kbind=KeyBind::get_bind( p_scan_code );
bool capture=false;
if (p_unicode >= '0' and p_unicode <= '9') {
editor->orderlist_insert_value(p_unicode-'0');
update();
return capture;
}
if (kbind==KB_MAX)
return false;
--- End code ---
now, just re-compile it and play !
i'm too lazy to do nice a patch for the moment.
but i hope it will save some users... enjoy !
dracflamloc:
Thanks =)
Navigation
[0] Message Index
Go to full version