/* Note, not every single ASCII character has a scancode. Only, the first 58 do. */ char asccode[58][2] = /* Array containing ascii codes for appropriate scan codes */ { { 0,0 } , { ESC,ESC } , { '1','!' } , { '2','@' } , { '3','#' } , { '4','$' } , { '5','%' } , { '6','^' } , { '7','&' } , { '8','*' } , { '9','(' } , { '0',')' } , { '-','_' } , { '=','+' } , { 8,8 } , { 9,9 } , { 'q','Q' } , { 'w','W' } , { 'e','E' } , { 'r','R' } , { 't','T' } , { 'y','Y' } , { 'u','U' } , { 'i','I' } , { 'o','O' } , { 'p','P' } , { '[','{' } , { ']','}' } , { 13,13 } , { 0,0 } , { 'a','A' } , { 's','S' } , { 'd','D' } , { 'f','F' } , { 'g','G' } , { 'h','H' } , { 'j','J' } , { 'k','K' } , { 'l','L' } , { ';',':' } , { 39,34 } , { '`','~' } , { 0,0 } , { '\\','|'} , { 'z','Z' } , { 'x','X' } , { 'c','C' } , { 'v','V' } , { 'b','B' } , { 'n','N' } , { 'm','M' } , { ',','<' } , { '.','>' } , { '/','?' } , { 0,0 } , { 0,0 } , { 0,0 } , { ' ',' ' } , };