- Introduced Apple GEOS specific key codes.
- Reorganized color defines. - Changed GEOS 64/128 'enter' key code from 10 to 13 (I've no idea how this could have been wrong but but at least VICE delivers 13). git-svn-id: svn://svn.cc65.org/cc65/trunk@5877 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -31,15 +31,13 @@ char GetNextChar(void);
|
||||
#define KEY_F5 5
|
||||
#define KEY_F6 6
|
||||
#define KEY_NOSCRL 7
|
||||
#define KEY_ENTER 11
|
||||
#define KEY_ENTER 13
|
||||
#define KEY_F7 14
|
||||
#define KEY_F8 15
|
||||
#define KEY_UP 16
|
||||
#define KEY_DOWN 17
|
||||
#define KEY_HOME 18
|
||||
#define KEY_CLEAR 19
|
||||
#define KEY_LARROW 20
|
||||
#define KEY_UPARROR 21
|
||||
#define KEY_UPARROW 21
|
||||
#define KEY_STOP 22
|
||||
#define KEY_RUN 23
|
||||
#define KEY_BPS 24
|
||||
@@ -47,10 +45,19 @@ char GetNextChar(void);
|
||||
#define KEY_ALT 26
|
||||
#define KEY_ESC 27
|
||||
#define KEY_INSERT 28
|
||||
#define KEY_DELETE 29
|
||||
#define KEY_RIGHT 30
|
||||
#define KEY_INVALID 31
|
||||
#define KEY_LEFT BACKSPACE
|
||||
#ifdef __GEOS_CBM__
|
||||
#define KEY_UP 16
|
||||
#define KEY_DOWN 17
|
||||
#define KEY_DELETE 29
|
||||
#define KEY_RIGHT 30
|
||||
#else
|
||||
#define KEY_UP 11
|
||||
#define KEY_DOWN 10
|
||||
#define KEY_DELETE 127
|
||||
#define KEY_RIGHT 21
|
||||
#endif
|
||||
|
||||
/* values of faultData - pointer position vs. mouseWindow */
|
||||
/* bit numbers */
|
||||
|
||||
Reference in New Issue
Block a user