For set arrow of keyboard event ( Up, Down, Left & Right )
_keyArrow(function(){ _printTo("display_key","LEFT"); },function(){ _printTo("display_key","RIGHT"); },function(){ _printTo("display_key","UP"); },function(){ _printTo("display_key","DOWN"); });


For set custom keyboard event

_keyCustom(function(){ _printTo("display_key","BACKSPACE"); },_keyCode.backspace);
You can set custom with key code on this below :


const _keyCode = { space_bar: 32, backspace: 8, clear: 12, tab: 9, ctrl: 17, enter: 13, alt: 18, caps_lock: 20, escape: 27, shift: 16, home: 36, end: 35, insert: 45, delete: 46, f1: 112, f2: 113, f3: 114, f4: 115, f5: 116, f6: 117, f7: 118, f8: 119, f9: 120, f10: 121, f11: 122, f12: 123, semi_colon: 186, comma: 188, num_lock: 144, minus: 173, win_menu: 93, add: 107, divide: 111, next: 176, previous: 177, left: 37, right: 39, up: 38, down: 40 };