---
name: "IsCursorKey"
section: "3x"
platform: "linux"
package: "libx11-dev"
version: "4.3.0.dfsg.1-14sarge7"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/IsCursorKey/3x"
---

# IsCursorKey(3x)

keysym classification macros

## NAME

IsCursorKey, IsFunctionKey, IsKeypadKey, IsMiscFunctionKey, IsModiferKey, 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 *IsModiferKey* 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

AllPlanes(3X11), BlackPixelOfScreen(3X11), ImageByteOrder(3X11)\
 *Xlib - C Language X Interface*
