XSETDEVICEMODE - Online Linux Manual PageSection : 3
Updated : 09/15/2021
Source :  ​
Note :  ​

NAMEXSetDeviceMode − change the mode of a device

SYNOPSIS#include <X11/extensions/XInput​.h>XSetDeviceMode( Display *display, XDevice *device, int mode);display Specifies the connection to the X server​.device Specifies the device whose mode is to be changed​.mode Specifies the mode​. You can pass Absolute, or Relative​.

DESCRIPTIONThe XSetDeviceMode request changes the mode of an input device that is capable of reporting either absolute positional information or relative motion information​. Not all input devices are capable of reporting motion data, and not all are capable of changing modes from Absolute to Relative​.XSetDeviceMode can generate a BadDevice or BadMode error​.

DIAGNOSTICSBadDevice An invalid device was specified​. The specified device does not exist or has not been opened by this client via XOpenInputDevice​. This error may also occur if some other client has caused the specified device to become the X keyboard or X pointer device via the XChangeKeyboardDevice or XChangePointerDevice requests​.BadMatch This error may occur if an XSetDeviceMode request is made specifying a device that has no valuators and reports no axes of motion​.BadMode An invalid mode was specified​. This error will also be returned if the specified device is not capable of supporting the XSetDeviceMode request​.
0
Johanes Gumabo
Data Size   :   4,102 byte
man-XSetDeviceMode.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 204,364
Visitor ID   :     :  
Visitor IP   :   3.146.65.134   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.