XkbSetModActionVMods(3) XKB FUNCTIONS XkbSetModActionVMods(3)

# [NAME](#NAME)

XkbSetModActionVMods - Sets the vmods1 and vmods2 fields of act using the vmods format of an Xkb modifier description

# [SYNOPSIS](#SYNOPSIS)

**void XkbSetModActionVMods** **(XkbAction act,** **unsigned short vmods);**

# [ARGUMENTS](#ARGUMENTS)

[*act*](#act)

action in which to set vmods

[*vmods*](#vmods)

virtual mods to set

# [DESCRIPTION](#DESCRIPTION)

*XkbSetModActionVMods* sets the *vmods1* and *vmods2* fields of *act* using the *vmods* format of an Xkb modifier description.

# [NOTES](#NOTES)

Despite the fact that the first parameter of these two macros is of type XkbAction, these macros may be used only with Actions of type XkbModAction and XkbISOAction.

libX11 1.8.14 X Version 11

---

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