Open main menu

CDOT Wiki β

Changes

OOP344 Student Resources

1,096 bytes added, 12:48, 4 February 2011
added OS Keycodes Heading and Mac OS X Keys
* [[q2 A binary file question]] - [[q2sol the solution]]
* [[walk1 a walkthrough with templates]] - [[walk1sol the solution]]
 
 
== OS Key-Codes ==
=== Mac OS X ===
* #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
1
edit