XkbGetDeviceInfoChanges(3)
π
XkbGetDeviceInfoChanges β from the XKB FUNCTIONS part of the libX11 universe π¦
okay so bestie, picture this: you've got this input extension device, right? And its button actions? its indicator names? its indicator maps? all of that can change behind your back. This little icon here is the one that goes and asks "so... what changed?" π
β¨ NAME β¨
XkbGetDeviceInfoChanges β the function that queries the changes that have occurred in the button actions or indicator names and indicator maps associated with an input extension device. literally its whole job, no cap π
π«Ά SYNOPSIS π«Ά
Status XkbGetDeviceInfoChanges (Display *dpy, XkbDeviceInfoPtr
device_info, XkbDeviceChangesPtr changes);
πΈ ARGUMENTS πΈ
dpyβ connection to X server. the group chat line to the server, basically πdevice_infoβ structure to update with results. this is the one getting a glow-up with the fresh info β¨changesβ contains notes of changes that have occurred. like a receipts folder of what went down π
π DESCRIPTION π
so the tea is this: the changes->changed field indicates which attributes of the device specified in changes->device have changed. and the parameters describing the changes? they're all chillin' in the other fields of changes. π«§
Then XkbGetDeviceInfoChanges uses that info to call XkbGetDeviceInfo and obtain the current status of those attributes that have changed. iconic delegation, honestly π
And then β final step, main character move β it updates the local description of the device in device_info with the new information. slay. periodt. π
π¦ SEE ALSO π¦
XkbGetDeviceInfo(3)β the bestie that does the actual fetching, iykyk π
and that's the whole page, bestie! this one came from X Version 11, libX11 1.8.14, and yes it's XkbGetDeviceInfoChanges(3) β go forth and track those device changes, you absolute legend πππ₯
π¦ 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