int IsFunctionKey(KeySym keysym);
int IsKeypadKey(KeySym keysym);
int IsMiscFunctionKey(KeySym keysym);
int IsModifierKey(KeySym keysym);
int IsPFKey(KeySym keysym);
int IsPrivateKeypadKey(KeySym keysym);
The IsFunctionKey macro returns True if the KeySym is a function key.
The IsKeypadKey macro returns True if the specified KeySym is a keypad key.
The IsMiscFunctionKey macro returns True if the specified KeySym is a miscellaneous function key.
The IsModifierKey macro returns True if the specified KeySym is a modifier key.
The IsPFKey macro returns True if the specified KeySym is a PF key.
The IsPrivateKeypadKey macro returns True if the specified KeySym is a vendor-private keypad key.