int IsFunctionKey(KeySym _k_e_y_s_y_m);
int IsKeypadKey(KeySym _k_e_y_s_y_m);
int IsMiscFunctionKey(KeySym _k_e_y_s_y_m);
int IsModifierKey(KeySym _k_e_y_s_y_m);
int IsPFKey(KeySym _k_e_y_s_y_m);
int IsPrivateKeypadKey(KeySym _k_e_y_s_y_m);
The _I_s_F_u_n_c_t_i_o_n_K_e_y macro returns _T_r_u_e if the KeySym is a function key.
The _I_s_K_e_y_p_a_d_K_e_y macro returns _T_r_u_e if the specified KeySym is a keypad key.
The _I_s_M_i_s_c_F_u_n_c_t_i_o_n_K_e_y macro returns _T_r_u_e if the specified KeySym is a miscellaneous function key.
The _I_s_M_o_d_i_f_e_r_K_e_y macro returns _T_r_u_e if the specified KeySym is a modifier key.
The _I_s_P_F_K_e_y macro returns _T_r_u_e if the specified KeySym is a PF key.
The _I_s_P_r_i_v_a_t_e_K_e_y_p_a_d_K_e_y macro returns _T_r_u_e if the specified KeySym is a vendor-private keypad key.