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

# XkbModActionVMods(3)

Returns the vmods1 and vmods2 fields of act converted to the vmods format of an Xkb modifier description

## NAME

XkbModActionVMods - Returns the vmods1 and vmods2 fields of act converted to the vmods format of an Xkb modifier description

## SYNOPSIS

**unsigned short XkbModActionVMods** **(XkbAction** *act***);**

## ARGUMENTS

- *act*

  action from which to extract virtual mods

## DESCRIPTION

*XkbModActionVMods* returns the *vmods1* and *vmods2* fields of *act* converted to the *vmods* format of an Xkb modifier description.
