Player APIs (BrightScript & Ja...
...
Object Reference
Input/Output Objects

roKeyboardPress

2min
this is an event object resulting from the user pressing a key on a usb keyboard the returned integer value is equivalent to the ascii code of the key that was pressed ifint getint() as integer returns the ascii value of the key press setint(a as integer) sets the value returned by the getint() method the returned roint32 can have one of the following values letter keys # keys func keys misc keys special keys a 97 r 114 0 48 f1 32826 del 127 " " 45 58 b 98 s 115 1 49 f2 32827 backspace 8 "=" 61 " 34 c 99 t 116 2 50 f3 32828 tab 9 \ 92 < 60 d 100 u 117 3 51 f4 32829 enter 13 ` 96 > 62 e 101 v 118 4 52 f5 32830 print scrn 32838 \[ 91 ? 63 f 102 w 119 5 53 f6 32831 scrl lock 32839 ] 93 ! 33 g 103 x 120 6 54 f7 32832 pause/brk 32840 ; 59 @ 64 h 104 y 121 7 55 f8 32833 ins 32841 " ' " 39 # 35 i 105 z 122 8 56 f9 32834 home 32842 , 44 $ 36 j 106 9 57 f11 32836 page up 32843 46 % 37 k 107 f12 32837 page down 32846 / 47 ^ 94 l 108 end 32845 95 & 38 m 109 caps 32811 "+" 43 42 n 110 left arrow 32848 | 124 ( 40 o 111 right arrow 32847 126 ) 41 p 112 up arrow 32850 { 123 q 113 down arrow 32849 } 125