XkbSetModActionVMods(3)
XkbSetModActionVMods(3) π«Ά
hey bestie, welcome to the XKB FUNCTIONS manual β specifically the page for XkbSetModActionVMods(3), and yes she is iconic for exactly what she does π
β¨ NAME β¨
XkbSetModActionVMods β sets the vmods1 and vmods2 fields of act using the vmods format of an Xkb modifier description
πΈ SYNOPSIS πΈ
void XkbSetModActionVMods (XkbAction act, unsigned short vmods);
π ARGUMENTS π
actβ the action in which to set vmodsvmodsβ the virtual mods to set
π¦ DESCRIPTION π¦
okay so XkbSetModActionVMods sets the vmods1 and vmods2 fields of act using the vmods format of an Xkb modifier description. that's the whole serve, no cap β¨
π NOTES π
tiny plot twist, bestie: 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. so like, yes the type says one thing, but the rule is very much giving βstay in your laneβ π keep that in mind and you're golden π«Ά
xoxo, this page came from X Version 11, version libX11 1.8.14, and the page itself is XkbSetModActionVMods(3) πβ¨ the footer didn't hand us a date, so no fake one from me π
π¦ where this page comes from
- alpine 3.24: libx11-doc 1.8.14-r0 Β· X11
- arch rolling: libx11 1.8.14-1 Β· MIT AND X11
- nixos 26.05: libx11 1.8.14
- nixpkgs unstable: libx11 1.8.14
- Copyright (c) 1999, Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms