1
edit
Changes
→added Mac Keycodes under bio_getch
You must use platform-specific and <u>unique non-ASCII</u> values for the keys, and then you must use these specific symbolic names in your definitions.
Mac OS X Key-Codes
* #define '''UP_KEY''' 259
* #define ''' DOWN_KEY''' 258
* #define ''' LEFT_KEY''' 260
* #define ''' RIGHT_KEY''' 261
* #define ''' PGUP_KEY''' 6 ''/* Control + f */''
* #define ''' PGDN_KEY''' 2 ''/* Control + b */''
* #define ''' ENTER_KEY''' 10
* #define ''' TAB_KEY''' 9
* #define ''' BACKSPACE_KEY''' 127
* #define ''' DEL_KEY''' 330 ''/* FN + Delete */''
* #define ''' HOME_KEY''' 1 ''/* Control + a */''
* #define ''' END_KEY''' 5 ''/* Control + e */''
* #define ''' ESCAPE_KEY''' 27
* #define ''' INSERT_KEY''' ''/* Unconfirmed */''
* #define ''' SPACE_KEY''' 32
''FN + ALT + Function Keys with Mac Special Function Key Setup''
''ALT + Function Keys as Standard Function Keys Setup''
* #define ''' F1_KEY''' 270
* #define ''' F2_KEY''' 271
* #define ''' F3_KEY''' 272
* #define ''' F4_KEY''' 273
* #define ''' F5_KEY''' 274
* #define ''' F6_KEY''' 275
* #define ''' F7_KEY''' 276
* #define ''' F8_KEY''' 277
* #define ''' F9_KEY''' 278
* #define ''' F10_KEY''' 279
* #define ''' F11_KEY''' 280
* #define ''' F12_KEY''' 281
=== void bio_curpos(int r, int c) ===