---
name: "IsCursorKey"
section: "3"
platform: "linux"
package: "libx11"
version: "1.8.14-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/IsCursorKey"
---

# IsCursorKey(3)

keysym classification macros

## NAME

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

## 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

- *keysym*

  Specifies the KeySym that is to be tested.

## 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

[**XkbKeyTypesForCoreSymbols**(3)](/XkbKeyTypesForCoreSymbols/3.md), [**AllPlanes**(3)](/AllPlanes/3.md), [**BlackPixelOfScreen**(3)](/BlackPixelOfScreen/3.md), [**ImageByteOrder**(3)](/ImageByteOrder/3.md)\
 *Xlib - C Language X Interface*
