The next table lists the symbolic names for some of the X events the EZ event dispatcher passes to private event handlers.
| Symbolic name | Corresponding X events |
EZ_BUTTON1_PRESS | ButtonPress, xbutton=Button1 |
EZ_BUTTON2_PRESS | ButtonPress, xbutton=Button2 |
EZ_BUTTON3_PRESS | ButtonPress, xbutton=Button3 |
EZ_BUTTON1_RELEASE | ButtonRelease, xbutton=Button1 |
EZ_BUTTON2_RELEASE | ButtonRelease, xbutton=Button2 |
EZ_BUTTON3_RELEASE | ButtonRelease, xbutton=Button3 |
EZ_REDRAW | Expose (for 3DCanvas only) |
EZ_RESIZE | ConfigureNotify (for 3DCanvas only) |
EZ_KEY_PRESS | KeyPress (see below) |
EZ_ENTER_WINDOW | EnterNotify |
EZ_LEAVE_WINDOW | LeaveNotify |
EZ_POINTER_MOTION | MotionNotify |
For EZ_KEY_PRESS events, the global variable EZ_PressedKey holds
the keycode translation of the corresponding keysym. The next table lists
the symbolic names of keycode translations for keysyms corresponding to
function keys and other special keys.
| Symbolic Name | Corresponding keysym |
EZ_PAGE_UP_KEY | XK_Prior |
EZ_PAGE_DOWN_KEY | XK_Next |
EZ_HOME_KEY | XK_Home |
EZ_LEFT_KEY | XK_Left or XK_KP_Left |
EZ_RIGHT_KEY | XK_Right or XK_KP_Right |
EZ_UP_KEY | XK_Up or XK_KP_Up |
EZ_DOWN_KEY | XK_Down or XK_KP_Down |
EZ_BEGIN_KEY | XK_Begin |
EZ_END_KEY | XK_End |
EZ_F1_KEY | XK_F1 |
EZ_F2_KEY | XK_F2 |
EZ_F3_KEY | XK_F3 |
EZ_F4_KEY | XK_F4 |
EZ_F5_KEY | XK_F5 |
EZ_F6_KEY | XK_F6 |
EZ_F7_KEY | XK_F7 |
EZ_F8_KEY | XK_F8 |
EZ_F9_KEY | XK_F9 |
EZ_F10_KEY | XK_F10 |
EZ_F11_KEY | XK_F11 |
EZ_F12_KEY | XK_F12 |