Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qvxtouchhandler.cpp File Reference

(156752917d7042685ce40c545a6736fad99161f3)

#include "qvxtouchhandler_p.h"
#include "qoutputmapping_p.h"
#include <QStringList>
#include <QHash>
#include <QSocketNotifier>
#include <QGuiApplication>
#include <QLoggingCategory>
#include <QtCore/private/qcore_unix_p.h>
#include <QtGui/qpointingdevice.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/private/qpointingdevice_p.h>
#include <QtCore/qpointer.h>
#include <mutex>
#include <qpa/qplatformscreen.h>
#include <evdevLib.h>
#include <math.h>
#include "moc_qvxtouchhandler_p.cpp"
+ Include dependency graph for qvxtouchhandler.cpp:

Go to the source code of this file.

Classes

class  QVxTouchScreenData
 
struct  QVxTouchScreenData::Contact
 

Macros

#define SYN_REPORT   0
 
#define EV_SYN   EV_DEV_SYN
 
#define EV_KEY   EV_DEV_KEY
 
#define EV_ABS   EV_DEV_ABS
 
#define ABS_X   EV_DEV_PTR_ABS_X
 
#define ABS_Y   EV_DEV_PTR_ABS_Y
 
#define BTN_TOUCH   EV_DEV_PTR_BTN_TOUCH
 
#define ABS_MAX   0x3f
 
#define ABS_MT_SLOT   EV_DEV_PTR_ABS_MT_SLOT
 
#define ABS_MT_POSITION_X   EV_DEV_PTR_ABS_MT_POSITION_X
 
#define ABS_MT_POSITION_Y   EV_DEV_PTR_ABS_MT_POSITION_Y
 
#define ABS_MT_TRACKING_ID   EV_DEV_PTR_ABS_MT_TRACKING_ID
 
#define input_event_sec   time.tv_sec
 
#define input_event_usec   time.tv_usec
 
#define ABS_MT_TOUCH_MAJOR   0x30 /* Major axis of touching ellipse */
 
#define ABS_CNT   (ABS_MAX+1)
 
#define ABS_MT_PRESSURE   0x3a
 
#define SYN_MT_REPORT   2
 
#define LONG_BITS   (sizeof(long) << 3)
 
#define NUM_LONGS(bits)
 

Typedefs

typedef EV_DEV_EVENT input_event
 

Macro Definition Documentation

◆ ABS_CNT

#define ABS_CNT   (ABS_MAX+1)

Definition at line 70 of file qvxtouchhandler.cpp.

◆ ABS_MAX

#define ABS_MAX   0x3f

Definition at line 30 of file qvxtouchhandler.cpp.

◆ ABS_MT_POSITION_X

#define ABS_MT_POSITION_X   EV_DEV_PTR_ABS_MT_POSITION_X

Definition at line 32 of file qvxtouchhandler.cpp.

◆ ABS_MT_POSITION_Y

#define ABS_MT_POSITION_Y   EV_DEV_PTR_ABS_MT_POSITION_Y

Definition at line 33 of file qvxtouchhandler.cpp.

◆ ABS_MT_PRESSURE

#define ABS_MT_PRESSURE   0x3a

Definition at line 76 of file qvxtouchhandler.cpp.

◆ ABS_MT_SLOT

#define ABS_MT_SLOT   EV_DEV_PTR_ABS_MT_SLOT

Definition at line 31 of file qvxtouchhandler.cpp.

◆ ABS_MT_TOUCH_MAJOR

#define ABS_MT_TOUCH_MAJOR   0x30 /* Major axis of touching ellipse */

Definition at line 58 of file qvxtouchhandler.cpp.

◆ ABS_MT_TRACKING_ID

#define ABS_MT_TRACKING_ID   EV_DEV_PTR_ABS_MT_TRACKING_ID

Definition at line 34 of file qvxtouchhandler.cpp.

◆ ABS_X

#define ABS_X   EV_DEV_PTR_ABS_X

Definition at line 27 of file qvxtouchhandler.cpp.

◆ ABS_Y

#define ABS_Y   EV_DEV_PTR_ABS_Y

Definition at line 28 of file qvxtouchhandler.cpp.

◆ BTN_TOUCH

#define BTN_TOUCH   EV_DEV_PTR_BTN_TOUCH

Definition at line 29 of file qvxtouchhandler.cpp.

◆ EV_ABS

#define EV_ABS   EV_DEV_ABS

Definition at line 26 of file qvxtouchhandler.cpp.

◆ EV_KEY

#define EV_KEY   EV_DEV_KEY

Definition at line 25 of file qvxtouchhandler.cpp.

◆ EV_SYN

#define EV_SYN   EV_DEV_SYN

Definition at line 24 of file qvxtouchhandler.cpp.

◆ input_event_sec

#define input_event_sec   time.tv_sec

Definition at line 38 of file qvxtouchhandler.cpp.

◆ input_event_usec

#define input_event_usec   time.tv_usec

Definition at line 42 of file qvxtouchhandler.cpp.

◆ LONG_BITS

#define LONG_BITS   (sizeof(long) << 3)

Definition at line 167 of file qvxtouchhandler.cpp.

◆ NUM_LONGS

#define NUM_LONGS ( bits)
Value:
(((bits) + LONG_BITS - 1) / LONG_BITS)
#define LONG_BITS
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * bits

Definition at line 168 of file qvxtouchhandler.cpp.

◆ SYN_MT_REPORT

#define SYN_MT_REPORT   2

Definition at line 79 of file qvxtouchhandler.cpp.

◆ SYN_REPORT

#define SYN_REPORT   0

Definition at line 23 of file qvxtouchhandler.cpp.

Typedef Documentation

◆ input_event

typedef EV_DEV_EVENT input_event

Definition at line 35 of file qvxtouchhandler.cpp.