mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-29 01:49:19 +00:00
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
/* Standard ASCII Key Code Definitions *
|
|
* Undefined Keys have value $00 *
|
|
|
|
/* Structure for Key Definitions */
|
|
struct keydef {
|
|
char bckspc; //Backspace
|
|
char break; //Break
|
|
char clear; //Clear
|
|
char copy; //Copy
|
|
char delete; //Delete
|
|
char down; //Cursor Down
|
|
char end; //End
|
|
char escape; //Escape
|
|
char fn1; //F1
|
|
char fn2; //F2
|
|
char fn3; //F3
|
|
char fn4; //F4
|
|
char fn5; //F5
|
|
char fn6; //F6
|
|
char fn7; //F7
|
|
char fn8; //F8
|
|
char fn9; //F9
|
|
char fn10; //F10
|
|
char fn11; //F11
|
|
char fn12; //F12
|
|
char help; //Help
|
|
char home; //Home
|
|
char insert; //Insert
|
|
char left; //Cursor Left
|
|
char lnfd; //Line Feed
|
|
char menu; //Menu
|
|
char pagedn; //Page Down
|
|
char pageup; //Page Up
|
|
char return; //Return
|
|
char right; //Cursor Right
|
|
char run; //Run
|
|
char rvsoff; //Reverse Off
|
|
char rvson; //Reverse On
|
|
char shfrtn; //Shift-Return
|
|
char shfspc; //Shifted Space
|
|
char shftab; //Shift-Tab
|
|
char tab; //Tab\
|
|
char up; //Cursor Up
|
|
};
|
|
|
|
/* Actual Key Definitions */
|
|
const struct keydef keys;
|
|
|
|
/* Structure for Key Names */
|
|
struct kname {char delete[6], escape[6], return[6];};
|
|
const struct kname knames;
|