RC BASIC Keyboard Codes

KEY NAME | RC BASIC CODE
"0" | K_0
"1" | K_1
"2" | K_2
"3" | K_3
"4" | K_4
"5" | K_5
"6" | K_6
"7" | K_7
"8" | K_8
"9" | K_9
"A" | K_A
"AC Back" (the Back key (application control keypad)) | K_AC_BACK
"AC Bookmarks" (the Bookmarks key (application control keypad)) | K_AC_BOOKMARKS
"AC Forward" (the Forward key (application control keypad)) | K_AC_FORWARD
"AC Home" (the Home key (application control keypad)) | K_AC_HOME
"AC Refresh" (the Refresh key (application control keypad)) | K_AC_REFRESH
"AC Search" (the Search key (application control keypad)) | K_AC_SEARCH
"AC Stop" (the Stop key (application control keypad)) | K_AC_STOP
"Again" (the Again key (Redo)) | K_AGAIN
"AltErase" (Erase-Eaze) | K_ALTERASE
"'" | K_APOSTROPHE
"Application" (the Application / Compose / Context Menu (Windows) key ) | K_APPLICATION
"AudioMute" (the Mute volume key) | K_AUDIOMUTE
"AudioNext" (the Next Track media key) | K_AUDIONEXT
"AudioPlay" (the Play media key) | K_AUDIOPLAY
"AudioPrev" (the Previous Track media key) | K_AUDIOPREV
"AudioStop" (the Stop media key) | K_AUDIOSTOP
"B" | K_B
"\" (Located at the lower left of the return key on ISO keyboards and at the right end of the QWERTY row on ANSI keyboards. Produces REVERSE SOLIDUS (backslash) and VERTICAL LINE in a US layout, REVERSE SOLIDUS and VERTICAL LINE in a UK Mac layout, NUMBER SIGN and TILDE in a UK Windows layout, DOLLAR SIGN and POUND SIGN in a Swiss German layout, NUMBER SIGN and APOSTROPHE in a German layout, GRAVE ACCENT and POUND SIGN in a French Mac layout, and ASTERISK and MICRO SIGN in a French Windows layout.) | K_BACKSLASH
"Backspace" | K_BACKSPACE
"BrightnessDown" (the Brightness Down key) | K_BRIGHTNESSDOWN
"BrightnessUp" (the Brightness Up key) | K_BRIGHTNESSUP
"C" | K_C
"Calculator" (the Calculator key) | K_CALCULATOR
"Cancel" | K_CANCEL
"CapsLock" | K_CAPSLOCK
"Clear" | K_CLEAR
"Clear / Again" | K_CLEARAGAIN
"," | K_COMMA
"Computer" (the My Computer key) | K_COMPUTER
"Copy" | K_COPY
"CrSel" | K_CRSEL
"CurrencySubUnit" (the Currency Subunit key) | K_CURRENCYSUBUNIT
"CurrencyUnit" (the Currency Unit key) | K_CURRENCYUNIT
"Cut" | K_CUT
"D" | K_D
"DecimalSeparator" (the Decimal Separator key) | K_DECIMALSEPARATOR
"Delete" | K_DELETE
"DisplaySwitch" (display mirroring/dual display switch, video mode switch) | K_DISPLAYSWITCH
"Down" (the Down arrow key (navigation keypad)) | K_DOWN
"E" | K_E
"Eject" (the Eject key) | K_EJECT
"End" | K_END
"=" | K_EQUALS
"Escape" (the Esc key) | K_ESCAPE
"Execute" | K_EXECUTE
"ExSel" | K_EXSEL
"F" | K_F
"F1" | K_F1
"F10" | K_F10
"F11" | K_F11
"F12" | K_F12
"F13" | K_F13
"F14" | K_F14
"F15" | K_F15
"F16" | K_F16
"F17" | K_F17
"F18" | K_F18
"F19" | K_F19
"F2" | K_F2
"F20" | K_F20
"F21" | K_F21
"F22" | K_F22
"F23" | K_F23
"F24" | K_F24
"F3" | K_F3
"F4" | K_F4
"F5" | K_F5
"F6" | K_F6
"F7" | K_F7
"F8" | K_F8
"F9" | K_F9
"Find" | K_FIND
"G" | K_G
"`" (Located in the top left corner (on both ANSI and ISO keyboards). Produces GRAVE ACCENT and TILDE in a US Windows layout and in US and UK Mac layouts on ANSI keyboards, GRAVE ACCENT and NOT SIGN in a UK Windows layout, SECTION SIGN and PLUS-MINUS SIGN in US and UK Mac layouts on ISO keyboards, SECTION SIGN and DEGREE SIGN in a Swiss German layout (Mac: only on ISO keyboards), CIRCUMFLEX ACCENT and DEGREE SIGN in a German layout (Mac: only on ISO keyboards), SUPERSCRIPT TWO and TILDE in a French Windows layout, COMMERCIAL AT and NUMBER SIGN in a French Mac layout on ISO keyboards, and LESS-THAN SIGN and GREATER-THAN SIGN in a Swiss German, German, or French Mac layout on ANSI keyboards.) | K_GRAVE
"H" | K_H
"Help" | K_HELP
"Home" | K_HOME
"I" | K_I
"Insert" (insert on PC, help on some Mac keyboards (but does send code 73, not 117)) | K_INSERT
"J" | K_J
"K" | K_K
"KBDIllumDown" (the Keyboard Illumination Down key) | K_KBDILLUMDOWN
"KBDIllumToggle" (the Keyboard Illumination Toggle key) | K_KBDILLUMTOGGLE
"KBDIllumUp" (the Keyboard Illumination Up key) | K_KBDILLUMUP
"Keypad 0" (the 0 key (numeric keypad)) | KEYPAD_0
"Keypad 00" (the 00 key (numeric keypad)) | KEYPAD_00
"Keypad 000" (the 000 key (numeric keypad)) | KEYPAD_000
"Keypad 1" (the 1 key (numeric keypad)) | KEYPAD_1
"Keypad 2" (the 2 key (numeric keypad)) | KEYPAD_2
"Keypad 3" (the 3 key (numeric keypad)) | KEYPAD_3
"Keypad 4" (the 4 key (numeric keypad)) | KEYPAD_4
"Keypad 5" (the 5 key (numeric keypad)) | KEYPAD_5
"Keypad 6" (the 6 key (numeric keypad)) | KEYPAD_6
"Keypad 7" (the 7 key (numeric keypad)) | KEYPAD_7
"Keypad 8" (the 8 key (numeric keypad)) | KEYPAD_8
"Keypad 9" (the 9 key (numeric keypad)) | KEYPAD_9
"Keypad A" (the A key (numeric keypad)) | KEYPAD_A
"Keypad &" (the & key (numeric keypad)) | KEYPAD_AMPERSAND
"Keypad @" (the @ key (numeric keypad)) | KEYPAD_AT
"Keypad B" (the B key (numeric keypad)) | KEYPAD_B
"Keypad Backspace" (the Backspace key (numeric keypad)) | KEYPAD_BACKSPACE
"Keypad Binary" (the Binary key (numeric keypad)) | KEYPAD_BINARY
"Keypad C" (the C key (numeric keypad)) | KEYPAD_C
"Keypad Clear" (the Clear key (numeric keypad)) | KEYPAD_CLEAR
"Keypad ClearEntry" (the Clear Entry key (numeric keypad)) | KEYPAD_CLEARENTRY
"Keypad :" (the : key (numeric keypad)) | KEYPAD_COLON
"Keypad ," (the Comma key (numeric keypad)) | KEYPAD_COMMA
"Keypad D" (the D key (numeric keypad)) | KEYPAD_D
"Keypad &&" (the && key (numeric keypad)) | KEYPAD_DBLAMPERSAND
"Keypad ||" (the || key (numeric keypad)) | KEYPAD_DBLVERTICALBAR
"Keypad Decimal" (the Decimal key (numeric keypad)) | KEYPAD_DECIMAL
"Keypad /" (the / key (numeric keypad)) | KEYPAD_DIVIDE
"Keypad E" (the E key (numeric keypad)) | KEYPAD_E
"Keypad Enter" (the Enter key (numeric keypad)) | KEYPAD_ENTER
"Keypad =" (the = key (numeric keypad)) | KEYPAD_EQUALS
"Keypad = (AS400)" (the Equals AS400 key (numeric keypad)) | KEYPAD_EQUALSAS400
"Keypad !" (the ! key (numeric keypad)) | KEYPAD_EXCLAM
"Keypad F" (the F key (numeric keypad)) | KEYPAD_F
"Keypad >" (the Greater key (numeric keypad)) | KEYPAD_GREATER
"Keypad #" (the # key (numeric keypad)) | KEYPAD_HASH
"Keypad Hexadecimal" (the Hexadecimal key (numeric keypad)) | KEYPAD_HEXADECIMAL
"Keypad {" (the Left Brace key (numeric keypad)) | KEYPAD_LEFTBRACE
"Keypad (" (the Left Parenthesis key (numeric keypad)) | KEYPAD_LEFTPAREN
"Keypad <" (the Less key (numeric keypad)) | KEYPAD_LESS
"Keypad MemAdd" (the Mem Add key (numeric keypad)) | KEYPAD_MEMADD
"Keypad MemClear" (the Mem Clear key (numeric keypad)) | KEYPAD_MEMCLEAR
"Keypad MemDivide" (the Mem Divide key (numeric keypad)) | KEYPAD_MEMDIVIDE
"Keypad MemMultiply" (the Mem Multiply key (numeric keypad)) | KEYPAD_MEMMULTIPLY
"Keypad MemRecall" (the Mem Recall key (numeric keypad)) | KEYPAD_MEMRECALL
"Keypad MemStore" (the Mem Store key (numeric keypad)) | KEYPAD_MEMSTORE
"Keypad MemSubtract" (the Mem Subtract key (numeric keypad)) | KEYPAD_MEMSUBTRACT
"Keypad -" (the - key (numeric keypad)) | KEYPAD_MINUS
"Keypad *" (the * key (numeric keypad)) | KEYPAD_MULTIPLY
"Keypad Octal" (the Octal key (numeric keypad)) | KEYPAD_OCTAL
"Keypad %" (the Percent key (numeric keypad)) | KEYPAD_PERCENT
"Keypad ." (the . key (numeric keypad)) | KEYPAD_PERIOD
"Keypad +" (the + key (numeric keypad)) | KEYPAD_PLUS
"Keypad +/-" (the +/- key (numeric keypad)) | KEYPAD_PLUSMINUS
"Keypad ^" (the Power key (numeric keypad)) | KEYPAD_POWER
"Keypad }" (the Right Brace key (numeric keypad)) | KEYPAD_RIGHTBRACE
"Keypad )" (the Right Parenthesis key (numeric keypad)) | KEYPAD_RIGHTPAREN
"Keypad Space" (the Space key (numeric keypad)) | KEYPAD_SPACE
"Keypad Tab" (the Tab key (numeric keypad)) | KEYPAD_TAB
"Keypad |" (the | key (numeric keypad)) | KEYPAD_VERTICALBAR
"Keypad XOR" (the XOR key (numeric keypad)) | KEYPAD_XOR
"L" | K_L
"Left Alt" (alt, option) | K_LALT
"Left Ctrl" | K_LCTRL
"Left" (the Left arrow key (navigation keypad)) | K_LEFT
"[" | K_LEFTBRACKET
"Left GUI" (windows, command (apple), meta) | K_LGUI
"Left Shift" | K_LSHIFT
"M" | K_M
"Mail" (the Mail/eMail key) | K_MAIL
"MediaSelect" (the Media Select key) | K_MEDIASELECT
"Menu" | K_MENU
"-" | K_MINUS
"ModeSwitch" (I'm not sure if this is really not covered by any of the above, but since there's a special KMOD_MODE for it I'm adding it here) | K_MODE
"Mute" | K_MUTE
"N" | K_N
"Numlock" (the Num Lock key (PC) / the Clear key (Mac)) | K_NUMLOCKCLEAR
"O" | K_O
"Oper" | K_OPER
"Out" | K_OUT
"P" | K_P
"PageDown" | K_PAGEDOWN
"PageUp" | K_PAGEUP
"Paste" | K_PASTE
"Pause" (the Pause / Break key) | K_PAUSE
"." | K_PERIOD
"Power" (The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a power key.) | K_POWER
"PrintScreen" | K_PRINTSCREEN
"Prior" | K_PRIOR
"Q" | K_Q
"R" | K_R
"Right Alt" (alt gr, option) | K_RALT
"Right Ctrl" | K_RCTRL
"Return" (the Enter key (main keyboard)) | K_RETURN
"Return" | K_RETURN2
"Right GUI" (windows, command (apple), meta) | K_RGUI
"Right" (the Right arrow key (navigation keypad)) | K_RIGHT
"]" | K_RIGHTBRACKET
"Right Shift" | K_RSHIFT
"S" | K_S
"ScrollLock" | K_SCROLLLOCK
"Select" | K_SELECT
";" | K_SEMICOLON
"Separator" | K_SEPARATOR
"/" | K_SLASH
"Sleep" (the Sleep key) | K_SLEEP
"Space" (the Space Bar key(s)) | K_SPACE
"Stop" | K_STOP
"SysReq" (the SysReq key) | K_SYSREQ
"T" | K_T
"Tab" (the Tab key) | K_TAB
"ThousandsSeparator" (the Thousands Separator key) | K_THOUSANDSSEPARATOR
"U" | K_U
"Undo" | K_UNDO
"" (no name, empty string) | K_UNKNOWN
"Up" (the Up arrow key (navigation keypad)) | K_UP
"V" | K_V
"VolumeDown" | K_VOLUMEDOWN
"VolumeUp" | K_VOLUMEUP
"W" | K_W
"WWW" (the WWW/World Wide Web key) | K_WWW
"X" | K_X
"Y" | K_Y
"Z" | K_Z