PS: before starting a new thread let me ask if had anyone tried using UPC Barcode Reader with SenchaTouch? it does work but i just can't capture the keyup keys because it seems every number is composed by a code with 3 digits

http://www.wikihow.com/Read-12-Digit-UPC-Barcodes

using this code:

Code:

var label;
var charCode = e.event.keyCode;
if (charCode == 8) label = "backspace"; // backspace
if (charCode == 9) label = "tab"; // tab
if (charCode == 13) label = "enter"; // enter
if (charCode == 16) label = "shift"; // shift
if (charCode == 17) label = "ctrl"; // ctrl
if (charCode == 18) label = "alt"; // alt
if (charCode == 19) label = "pause/break"; // pause/break
if (charCode == 20) label = "caps lock"; // caps lock
if (charCode == 27) label = "escape"; // escape
if (charCode == 33) label = "page up"; // page up, to avoid displaying alternate character and confusing people
if (charCode == 34) label = "page down"; // page down
if (charCode == 35) label = "end"; // end
if (charCode == 36) label = "home"; // home
if (charCode == 37) label = "left arrow"; // left arrow
if (charCode == 38) label = "up arrow"; // up arrow
if (charCode == 39) label = "right arrow"; // right arrow
if (charCode == 40) label = "down arrow"; // down arrow
if (charCode == 45) label = "insert"; // insert
if (charCode == 46) label = "delete"; // delete
if (charCode == 91) label = "left window"; // left window
if (charCode == 92) label = "right window"; // right window
if (charCode == 93) label = "select key"; // select key
if (charCode == 96) label = "numpad 0"; // numpad 0
if (charCode == 97) label = "numpad 1"; // numpad 1
if (charCode == 98) label = "numpad 2"; // numpad 2
if (charCode == 99) label = "numpad 3"; // numpad 3
if (charCode == 100) label = "numpad 4"; // numpad 4
if (charCode == 101) label = "numpad 5"; // numpad 5
if (charCode == 102) label = "numpad 6"; // numpad 6
if (charCode == 103) label = "numpad 7"; // numpad 7
if (charCode == 104) label = "numpad 8"; // numpad 8
if (charCode == 105) label = "numpad 9"; // numpad 9
if (charCode == 106) label = "multiply"; // multiply
if (charCode == 107) label = "add"; // add
if (charCode == 109) label = "subtract"; // subtract
if (charCode == 110) label = "decimal point"; // decimal point
if (charCode == 111) label = "divide"; // divide
if (charCode == 112) label = "F1"; // F1
if (charCode == 113) label = "F2"; // F2
if (charCode == 114) label = "F3"; // F3
if (charCode == 115) label = "F4"; // F4
if (charCode == 116) label = "F5"; // F5
if (charCode == 117) label = "F6"; // F6
if (charCode == 118) label = "F7"; // F7
if (charCode == 119) label = "F8"; // F8
if (charCode == 120) label = "F9"; // F9
if (charCode == 121) label = "F10"; // F10
if (charCode == 122) label = "F11"; // F11
if (charCode == 123) label = "F12"; // F12
if (charCode == 144) label = "num lock"; // num lock
if (charCode == 145) label = "scroll lock"; // scroll lock
if (charCode == 186) label = ";"; // semi-colon
if (charCode == 187) label = "="; // equal-sign
if (charCode == 188) label = ","; // comma
if (charCode == 189) label = "-"; // dash
if (charCode == 190) label = "."; // period
if (charCode == 191) label = "/"; // forward slash
if (charCode == 192) label = "`"; // grave accent
if (charCode == 219) label = "["; // open bracket
if (charCode == 220) label = "\\"; // back slash
if (charCode == 221) label = "]"; // close bracket
if (charCode == 222) label = "'"; // single quote
console.debug(label);

i get

Code:

05 ALT 305 ALT 404 ALT 805 ALT 204 ALT 805 ALT 305 ALT 304 ALT 904 ALT 904 ALT 904 ALT 905 ALT 105 ALT 601 ALT 3

that just don't make any sense to me