Go to the documentation of this file.00001
00002
00003
00004 #ifndef __NEX_NEXKEYS_H
00005 #define __NEX_NEXKEYS_H
00006
00007 #define NEXKEY_NONE 0x00 ///< No key
00008
00009
00010 #define NEXKEY_UP 0x80 ///< Main up arrow key
00011 #define NEXKEY_DOWN 0x81 ///< Main down arrow key
00012 #define NEXKEY_LEFT 0x82 ///< Main left arrow key
00013 #define NEXKEY_RIGHT 0x83 ///< Main right arrow key
00014 #define NEXKEY_LALT 0x84 ///< Left ALT key
00015 #define NEXKEY_RALT 0x85 ///< Right ALT key
00016 #define NEXKEY_LCTRL 0x86 ///< Left CTRL key
00017 #define NEXKEY_RCTRL 0x87 ///< Right CTRL key
00018 #define NEXKEY_LSHIFT 0x88 ///< Left Shift key
00019 #define NEXKEY_RSHIFT 0x89 ///< Right Shift key
00020 #define NEXKEY_PAUSE 0x8c ///< Pause key
00021 #define NEXKEY_ESCAPE 0x8e ///< Escape key
00022 #define NEXKEY_F1 0x8f ///< F1 key
00023 #define NEXKEY_F2 0x90 ///< F1 key
00024 #define NEXKEY_F3 0x91 ///< F1 key
00025 #define NEXKEY_F4 0x92 ///< F1 key
00026 #define NEXKEY_F5 0x93 ///< F1 key
00027 #define NEXKEY_F6 0x94 ///< F1 key
00028 #define NEXKEY_F7 0x95 ///< F1 key
00029 #define NEXKEY_F8 0x96 ///< F1 key
00030 #define NEXKEY_F9 0x97 ///< F1 key
00031 #define NEXKEY_F10 0x98 ///< F1 key
00032 #define NEXKEY_F11 0x99 ///< F1 key
00033 #define NEXKEY_F12 0x9a ///< F1 key
00034 #define NEXKEY_INSERT 0x9b ///< Insert key
00035 #define NEXKEY_HOME 0x9c ///< Home key
00036 #define NEXKEY_PGUP 0x9d ///< Page Up key
00037 #define NEXKEY_PGDOWN 0x9e ///< Page Down key
00038 #define NEXKEY_END 0x9f ///< End key
00039 #define NEXKEY_DEL 0xa0 ///< Delete key
00040 #define NEXKEY_PRINTSCR 0xa1 ///< Print screen key
00041 #define NEXKEY_SCROLLLOCK 0xa2 ///< Scroll lock key
00042
00043
00044 #define NEXKEY_NUMLOCK 0xa3 ///< Numlock key
00045 #define NEXKEY_KPSLASH 0xa4 ///< Keypad forward slash
00046 #define NEXKEY_KPSTAR 0xa5 ///< Keypad star (*)
00047 #define NEXKEY_KPMINUS 0xa6 ///< Keyboar minus
00048 #define NEXKEY_KP7 0xa7 ///< Keypad 7 (home)
00049 #define NEXKEY_KP8 0xa8 ///< Keypad 8 (up arrow)
00050 #define NEXKEY_KP9 0xa9 ///< Keypad 9 (page up)
00051 #define NEXKEY_KP4 0xaa ///< Keypad 4 (left arrow)
00052 #define NEXKEY_KP5 0xab ///< Keypad 5
00053 #define NEXKEY_KP6 0xac ///< Keypad 6 (right arrow)
00054 #define NEXKEY_KP1 0xad ///< Keypad 1 (end)
00055 #define NEXKEY_KP2 0xae ///< Keypad 2 (down arrow)
00056 #define NEXKEY_KP3 0xaf ///< Keypad 3 (page down)
00057 #define NEXKEY_KP0 0xb0 ///< Keypad 0 (insert)
00058 #define NEXKEY_KPPOINT 0xb1 ///< Keypad decimal point (delete)
00059 #define NEXKEY_KPENTER 0xb2 ///< Keypad enter
00060 #define NEXKEY_KPPLUS 0xb3 ///< Keypad plus
00061
00062
00063 #define NEXKEY_BACKSPACE 0x08 ///< Backspace
00064 #define NEXKEY_TAB 0x09 ///< Tab
00065 #define NEXKEY_ENTER 0x0D ///< Enter
00066
00067 #define NEXKEY_ISVIRTUAL(x) ((unsigned int)(x) >= 0x80) ///< Macro to check if a key is virtual
00068
00069 #define NEXMB_LEFT 0x00 ///< Left mouse button
00070 #define NEXMB_RIGHT 0x01 ///< Right mouse button
00071 #define NEXMB_MIDDLE 0x02 ///< Middle mouse button (usually clicking in the wheel)
00072
00073 #define NEXMB_BUTTON1 NEXMOUSE_LEFT ///< Another definition for left mouse button
00074 #define NEXMB_BUTTON2 NEXMOUSE_RIGHT ///< Another definition for right mouse button
00075 #define NEXMB_BUTTON3 NEXMOUSE_MIDDLE ///< Another definition for middle mouse button
00076 #define NEXMB_BUTTON4 0x03 ///< Fourth mouse button
00077 #define NEXMB_BUTTON5 0x04 ///< Fifth mouse button
00078
00079 #endif
00080
00081