keydefs
keydefs — Constant definitions for keyval/modifiers
|
|
Details
FEP_BackSpace
#define FEP_BackSpace 0xff08
FEP_Delete
#define FEP_Delete 0xffff
FEP_Down
#define FEP_Down 0xff54
FEP_End
#define FEP_End 0xff57
FEP_Escape
#define FEP_Escape 0xff1b
FEP_F1
#define FEP_F1 0xffbe
FEP_F10
#define FEP_F10 0xffc7
FEP_F11
#define FEP_F11 0xffc8
FEP_F12
#define FEP_F12 0xffc9
FEP_F2
#define FEP_F2 0xffbf
FEP_F3
#define FEP_F3 0xffc0
FEP_F4
#define FEP_F4 0xffc1
FEP_F5
#define FEP_F5 0xffc2
FEP_F6
#define FEP_F6 0xffc3
FEP_F7
#define FEP_F7 0xffc4
FEP_F8
#define FEP_F8 0xffc5
FEP_F9
#define FEP_F9 0xffc6
FEP_Home
#define FEP_Home 0xff50
FEP_Insert
#define FEP_Insert 0xff63
FEP_Left
#define FEP_Left 0xff51
FEP_Next
#define FEP_Next 0xff56
FEP_Prior
#define FEP_Prior 0xff55
FEP_Return
#define FEP_Return 0xff0d
FEP_Right
#define FEP_Right 0xff53
FEP_Tab
#define FEP_Tab 0xff09
FEP_Up
#define FEP_Up 0xff52
enum FepModifierType
typedef enum {
FEP_SHIFT_MASK = 1 << 0,
FEP_LOCK_MASK = 1 << 1,
FEP_CONTROL_MASK = 1 << 2,
FEP_MOD1_MASK = 1 << 3,
FEP_MOD2_MASK = 1 << 4,
FEP_MOD3_MASK = 1 << 5,
FEP_MOD4_MASK = 1 << 6,
FEP_MOD5_MASK = 1 << 7,
FEP_SUPER_MASK = 1 << 26,
FEP_HYPER_MASK = 1 << 27,
FEP_META_MASK = 1 << 28,
FEP_RELEASE_MASK = 1 << 30
} FepModifierType;
FEP_SHIFT_MASK
|
the Shift key.
|
FEP_LOCK_MASK
|
a Lock key (depending on the modifier mapping of the
X server this may either be CapsLock or ShiftLock).
|
FEP_CONTROL_MASK
|
the Control key.
|
FEP_MOD1_MASK
|
the fourth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this modifier, but
normally it is the Alt key).
|
FEP_MOD2_MASK
|
the fifth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this modifier).
|
FEP_MOD3_MASK
|
the sixth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this modifier).
|
FEP_MOD4_MASK
|
the seventh modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this modifier).
|
FEP_MOD5_MASK
|
the eighth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this modifier).
|
FEP_SUPER_MASK
|
the Super modifier. Since 2.10
|
FEP_HYPER_MASK
|
the Hyper modifier. Since 2.10
|
FEP_META_MASK
|
the Meta modifier. Since 2.10
|
FEP_RELEASE_MASK
|
not used in FEP itself. GTK+ uses it to differentiate
between (keyval, modifiers) pairs from key press and release events.
|