alphabets in bar code scanner code

Guys…

How to modify the code to read the alphabets in the bar code scanner… Could any one know the corresponding hex values for the alphabets to get scanned by the bar code scanner …

help me out this…

arduino_barcode_-_code.ino (5.73 KB)

The sketch reads scancodes from a PS/2 keyboard (or barcode scanner emulating a PS/2 keyboard) and translates them to ascii digits. The scancode to alphabetic conversion for the US-English PS/2 keyboard:

10 (Q), 11 (W), 12 (E), 13 (R), 14 (T), 15 (Y), 16 (U), 17 (I), 18 (O), 19 (P), 1e (A), 1f (S), 20 (D), 21 (F), 22 (G), 23 (H), 24 (J), 25 (K), 26 (L), 2c (Z), 2d (X), 2e (C), 2f (V), 30 (B), 31 (N), 32 (M),