Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qxcbconnection_xi2.cpp File Reference
#include "qxcbconnection.h"
#include "qxcbkeyboard.h"
#include "qxcbscrollingdevice_p.h"
#include "qxcbscreen.h"
#include "qxcbwindow.h"
#include "QtCore/qmetaobject.h"
#include "QtCore/qmath.h"
#include <QtGui/qpointingdevice.h>
#include <QtGui/private/qpointingdevice_p.h>
#include <qpa/qwindowsysteminterface_p.h>
#include <QDebug>
#include <xcb/xinput.h>
+ Include dependency graph for qxcbconnection_xi2.cpp:

Go to the source code of this file.

Classes

struct  qt_xcb_input_event_mask_t
 

Typedefs

using qt_xcb_input_device_event_t = xcb_input_button_press_event_t
 

Functions

static void setXcbMask (uint8_t *mask, int bit)
 
static qreal fixed3232ToReal (xcb_input_fp3232_t val)
 
static qreal fixed1616ToReal (xcb_input_fp1616_t val)
 
static int xi2ValuatorOffset (const unsigned char *maskPtr, int maskLen, int number)
 

Typedef Documentation

◆ qt_xcb_input_device_event_t

using qt_xcb_input_device_event_t = xcb_input_button_press_event_t

Definition at line 24 of file qxcbconnection_xi2.cpp.

Function Documentation

◆ fixed1616ToReal()

static qreal fixed1616ToReal ( xcb_input_fp1616_t  val)
inlinestatic

Definition at line 680 of file qxcbconnection_xi2.cpp.

◆ fixed3232ToReal()

static qreal fixed3232ToReal ( xcb_input_fp3232_t  val)
inlinestatic

Definition at line 97 of file qxcbconnection_xi2.cpp.

◆ setXcbMask()

static void setXcbMask ( uint8_t *  mask,
int  bit 
)
inlinestatic

Definition at line 35 of file qxcbconnection_xi2.cpp.

Referenced by QXcbConnection::xi2SelectDeviceEvents(), QXcbConnection::xi2SelectStateEvents(), and QXcbConnection::xi2SetMouseGrabEnabled().

+ Here is the caller graph for this function:

◆ xi2ValuatorOffset()

static int xi2ValuatorOffset ( const unsigned char *  maskPtr,
int  maskLen,
int  number 
)
static

Definition at line 1435 of file qxcbconnection_xi2.cpp.

References i, j, and number.