Saturday, February 5, 2011

Mac OS Key-Codes

Finally, I've got some key codes to use on Macintosh to continue with the development of our Assignment.

OS Key-Codes

[edit]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 16 /* Control + p */
  • #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

Friday, February 4, 2011

Programming on the Mac

Programming for the Mac OS X turned out to be "More than meets the Eye". I have spent about 2-3days trying to find the Keycodes for the Macintosh Keyboard. Only if programming for this OS was as easy as it is to use.

Saturday, January 15, 2011

Welcome

Welcome to my blog. I've never had a blog before and I have created this one because of my OOP344 Class. More OOP new to come!