www.pudn.com > commutil.zip > KEYS.H
// ******************************************************************** // // // // KEYS.H // // Copyright (c) 1993, Michael Holmes and Bob Flanders // // C++ Communication Utilities // // // // Chapter 6: Transferring Files // // Last changed in chapter 2 // // // // This file contains the definitions for extended keyboard // // function and control keys. // // // // ******************************************************************** // #define F1 0x100 + '\x3b' // F1 function key #define F2 0x100 + '\x3c' // F2 #define F3 0x100 + '\x3d' // F3 #define F4 0x100 + '\x3e' // F4 #define F5 0x100 + '\x3f' // F5 #define F6 0x100 + '\x40' // F6 #define F7 0x100 + '\x41' // F7 #define F8 0x100 + '\x42' // F8 #define F9 0x100 + '\x43' // F9 #define F10 0x100 + '\x44' // F10 #define F11 0x100 + '\x85' // F11 #define F12 0x100 + '\x86' // F12 #define UP 0x100 + '\x48' // up #define DOWN 0x100 + '\x50' // down #define LEFT 0x100 + '\x4b' // left arrow #define RIGHT 0x100 + '\x4d' // right arrow #define HOME 0x100 + '\x47' // home #define END 0x100 + '\x4f' // end #define PAGE_UP 0x100 + '\x49' // page up #define PAGE_DOWN 0x100 + '\x51' // page down #define C_UP 0x100 + '\x8d' // ctrl up #define C_DOWN 0x100 + '\x91' // ctrl down #define C_LEFT 0x100 + '\x73' // ctrl left arrow #define C_RIGHT 0x100 + '\x74' // ctrl right arrow #define C_HOME 0x100 + '\x77' // ctrl home #define C_END 0x100 + '\x75' // ctrl end #define C_PAGE_UP 0x100 + '\x84' // ctrl page up #define C_PAGE_DOWN 0x100 + '\x76' // ctrl page down #define SPACE ' ' // spacebar #define CR '\r' // carriage return #define LF '\n' // linefeed #define ESC '\x1b' // escape #define BACKSPACE '\b' // backspace #define DELETE 0x100 + '\x53' // delete key #define INSERT 0x100 + '\x52' // insert key #define TAB '\t' // tab #define BELL "\a" // bell string