Lines Matching refs:keysym
231 #define IsKeypadKey(keysym) \ argument
232 (((KeySym)(keysym) >= XK_KP_Space) && ((KeySym)(keysym) <= XK_KP_Equal))
234 #define IsPrivateKeypadKey(keysym) \ argument
235 (((KeySym)(keysym) >= 0x11000000) && ((KeySym)(keysym) <= 0x1100FFFF))
237 #define IsCursorKey(keysym) \ argument
238 (((KeySym)(keysym) >= XK_Home) && ((KeySym)(keysym) < XK_Select))
240 #define IsPFKey(keysym) \ argument
241 (((KeySym)(keysym) >= XK_KP_F1) && ((KeySym)(keysym) <= XK_KP_F4))
243 #define IsFunctionKey(keysym) \ argument
244 (((KeySym)(keysym) >= XK_F1) && ((KeySym)(keysym) <= XK_F35))
246 #define IsMiscFunctionKey(keysym) \ argument
247 (((KeySym)(keysym) >= XK_Select) && ((KeySym)(keysym) <= XK_Break))
250 #define IsModifierKey(keysym) \ argument
251 ((((KeySym)(keysym) >= XK_Shift_L) && ((KeySym)(keysym) <= XK_Hyper_R)) \
252 || (((KeySym)(keysym) >= XK_ISO_Lock) && \
253 ((KeySym)(keysym) <= XK_ISO_Level5_Lock)) \
254 || ((KeySym)(keysym) == XK_Mode_switch) \
255 || ((KeySym)(keysym) == XK_Num_Lock))
257 #define IsModifierKey(keysym) \ argument
258 ((((KeySym)(keysym) >= XK_Shift_L) && ((KeySym)(keysym) <= XK_Hyper_R)) \
259 || ((KeySym)(keysym) == XK_Mode_switch) \
260 || ((KeySym)(keysym) == XK_Num_Lock))