logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

XkbKeysymToModifiers - Finds the set of modifiers bound to a particular keysym on the core keyboard

Arguments

dpy    connection to X server

       ks     keysym of interest

Description

XkbKeysymToModifiers  finds  the  set of modifiers currently bound to the keysym ks on the core keyboard.
       The value returned is the mask of modifiers bound to the keysym ks.  If no modifiers  are  bound  to  the
       keysym,  XkbKeysymToModifiers returns zero; otherwise, it returns the inclusive OR of zero or more of the
       following: ShiftMask, ControlMask, LockMask, Mod1Mask, Mod2Mask, Mod3Mask, Mod4Mask, and Mod5Mask.

X Version 11                                      libX11 1.8.12                          XkbKeysymToModifiers(3)

Name

       XkbKeysymToModifiers - Finds the set of modifiers bound to a particular keysym on the core keyboard

Synopsis

unsignedintXkbKeysymToModifiers(Display*dpy,KeySymks);

See Also