Open main menu

CDOT Wiki β

Changes

OOP344 20102 TextEdit

567 bytes removed, 13:22, 11 August 2010
PLATFORM KEY DEFINITIONS
= PLATFORM KEY DEFINITIONS =
#if PLATFORM == PLT_VCC || PLATFORM == PLT_BCC#define UP_KEY 1072#define DOWN_KEY 1080#define LEFT_KEY 1075#define RIGHT_KEY 1077#define PGUP_KEY 1073#define PGDN_KEY 1081#define ENTER_KEY 13#define TAB_KEY 9#define BACKSPACE_KEY BACSPACE_KEY 8#define DEL_KEY 1083#define HOME_KEY 1071#define END_KEY 1079#define ESCAPE_KEY 27#define INSERT_KEY 1082#define F1_KEY 1059#define F2_KEY 1060#define F3_KEY 1061#define F4_KEY 1062#define F5_KEY 1063#define F6_KEY 1064#define F7_KEY 1065#define F8_KEY 1066#define F9_KEY 1067#define F10_KEY 1068#define F11_KEY 1133#define F12_KEY 1134
#elif PLATFORM == PLT_LNX /* use PUTTY terminal only and set the keyboard to Xtrem R6 */#define UP_KEY 259#define DOWN_KEY 258#define LEFT_KEY 260#define RIGHT_KEY 261#define PGUP_KEY 339#define PGDN_KEY 338#define ENTER_KEY 10#define TAB_KEY 9#define BACKSPACE_KEY 263#define DEL_KEY 330#define HOME_KEY 262#define END_KEY 360#define ESCAPE_KEY 27#define INSERT_KEY INSRT_KEY 331#define F1_KEY 265#define F2_KEY 266#define F3_KEY 267#define F4_KEY 268#define F5_KEY 269#define F6_KEY 270#define F7_KEY 271#define F8_KEY 272#define F9_KEY 273#define F10_KEY 274#define F11_KEY 275#define F12_KEY 276
#elif PLATFORM == PLT_MAC
#define UP_KEY 259#define DOWN_KEY 258#define LEFT_KEY 260#define RIGHT_KEY 261#define PGUP_KEY 339#define PGDN_KEY 338#define ENTER_KEY 10#define TAB_KEY 9 #define BACKSPACE_KEY 263#define DEL_KEY 127#define HOME_KEY 262#define END_KEY 360#define ESCAPE_KEY 27#define INSERT_KEY 331#define F1_KEY 995#define F2_KEY 996#define F3_KEY 997#define F4_KEY 998#define F5_KEY 269#define F6_KEY 270#define F7_KEY 111#define F8_KEY 272#define F9_KEY 273#define F10_KEY 274#define F11_KEY 275#define F12_KEY 126
1
edit