1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-25 06:31:25 +00:00
C02/include/keydef.h02

52 lines
1.3 KiB
Plaintext
Raw Normal View History

/* Standard ASCII Key Code Definitions *
2019-12-20 18:37:56 +00:00
* Undefined Keys have value $00 *
2019-12-20 18:37:56 +00: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
2020-10-14 03:22:44 +00:00
char end; //End
2019-12-20 18:37:56 +00:00
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
2020-10-14 03:22:44 +00:00
char menu; //Menu
char pagedn; //Page Down
char pageup; //Page Up
2019-12-20 18:37:56 +00:00
char return; //Return
2020-10-14 03:22:44 +00:00
char right; //Cursor Right
2019-12-20 18:37:56 +00:00
char run; //Run
char rvsoff; //Reverse Off
char rvson; //Reverse On
2020-10-14 03:22:44 +00:00
char shfrtn; //Shift-Return
2019-12-20 18:37:56 +00:00
char shfspc; //Shifted Space
char shftab; //Shift-Tab
2020-10-14 03:22:44 +00:00
char tab; //Tab\
2019-12-20 18:37:56 +00:00
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;