|
|
(12 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| A '''scan code''' is a two-part or four-part [[hexadecimal]] code associated with a keystroke (so called because it comes from scanning the keyboard).
| | #redirect:[[Scan Code]] |
| | |
| To determine the standardized Business Rules [[scancode]]s, run the following program:
| |
| | |
| 10 LET X$ = KSTAT$(1)
| |
| 20 PRINT UNHEX$(X$)
| |
| 30 GOTO 10
| |
| | |
| Each time you press a key, the scancode for that key is displayed.
| |
| | |
| Here are a few of the Scan codes:
| |
| | |
| {| border="1" align="center"
| |
| |-
| |
| !Key
| |
| !Scan Code
| |
| |-
| |
| | Tab
| |
| | 09
| |
| |-
| |
| | Shift+Tab
| |
| | 07
| |
| |-
| |
| | Down Arrow
| |
| | 0A
| |
| |-
| |
| | Up Arrow
| |
| | 0B
| |
| |-
| |
| | Left Arrow
| |
| | 0E
| |
| |-
| |
| | Right Arrow
| |
| | 0C
| |
| |-
| |
| | F7
| |
| | 0700
| |
| | |
| |}
| |
| | |
| | |
| See the [[KStat$]] [[internal function]] for more information.
| |
| | |
| <noinclude>
| |
| [[Category:Terminology]]
| |
| [[Category:Needs Help]]
| |
| </noinclude>
| |