IsCursorKey(3) XLIB FUNCTIONS IsCursorKey(3)

# [NAME](#NAME)

IsCursorKey, IsFunctionKey, IsKeypadKey, IsMiscFunctionKey, IsModifierKey, IsPFKey, IsPrivateKeypadKey - keysym classification macros

# [SYNTAX](#SYNTAX)

int IsCursorKey(KeySym *keysym*);

int IsFunctionKey(KeySym *keysym*);

int IsKeypadKey(KeySym *keysym*);

int IsMiscFunctionKey(KeySym *keysym*);

int IsModifierKey(KeySym *keysym*);

int IsPFKey(KeySym *keysym*);

int IsPrivateKeypadKey(KeySym *keysym*);

# [ARGUMENTS](#ARGUMENTS)

[*keysym*](#keysym)

Specifies the KeySym that is to be tested.

# [DESCRIPTION](#DESCRIPTION)

The **IsCursorKey** macro returns **True** if the specified KeySym is a cursor key.

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.

# [SEE ALSO](#SEE_ALSO)

[**XkbKeyTypesForCoreSymbols**(3)](/man/os/libx11/XkbKeyTypesForCoreSymbols.3), [**AllPlanes**(3)](/man/os/libx11/AllPlanes.3), [**BlackPixelOfScreen**(3)](/man/os/libx11/BlackPixelOfScreen.3), [**ImageByteOrder**(3)](/man/os/libx11/ImageByteOrder.3)  
*Xlib - C Language X Interface*

libX11 1.8.14 X Version 11

---

Document: IsMiscFunctionKey(3) from libx11 1.8.14-r0 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libx11.git
