1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-22 16:34:15 +00:00
C02/doc/keydef.txt

60 lines
1.8 KiB
Plaintext
Raw Normal View History

2019-12-20 18:37:56 +00:00
Key Definitions for C02 Programs
This module contains symbolic representations of the character codes
generated by non-printing keyboard keys.
The set of symbolic names is intended to encompass all supported 6502
based microcomputers. Any key that is inapplicable to a particular
machine will have a defined character value of 0.
The default header file contains keys with standard ASCII definitions.
At the beginning of the program use the directive
#include <key.h02>
The following are defined:
struct keydef {}; Structure containing the symbolic key names
const struct keydef keys; Struct variable containing the character codes
The structure contains the following members:
key.bckspc Backspace
key.break Break
key.clear Clear
key.copy Copy
key.delete Delete
key.down Cursor Down
key.escape Escape
key.fn1 Function Key 1
key.fn2 Function Key 2
key.fn3 Function Key 3
key.fn4 Function Key 4
key.fn5 Function Key 5
key.fn6 Function Key 6
key.fn7 Function Key 7
key.fn8 Function Key 8
key.fn9 Function Key 9
key.fn10 Function Key 10
key.fn11 Function Key 11
key.fn12 Function Key 12
key.help Help
key.home Home
key.insert Insert
key.left Cursor Left
key.lnfd Line Feed
key.right Cursor Right
key.return Return
key.shfrtn Shift-Return
key.run Run
key.rvsoff Reverse Off
key.rvson Reverse On
key.shfspc Shifted Space
key.tab Tab
key.shftab Shift-Tab
key.up Cursor Up
Note: This library has no external requirement.