Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qevdevtouchhandler_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 <linux/input.h>
#include <math.h>
#include "moc_qevdevtouchhandler_p.cpp"
Go to the source code of this file.
Classes | |
class | QEvdevTouchScreenData |
struct | QEvdevTouchScreenData::Contact |
Macros | |
#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_MT_POSITION_X 0x35 /* Center X ellipse position */ |
#define | ABS_MT_POSITION_Y 0x36 /* Center Y ellipse position */ |
#define | ABS_MT_SLOT 0x2f |
#define | ABS_CNT (ABS_MAX+1) |
#define | ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ |
#define | ABS_MT_PRESSURE 0x3a |
#define | SYN_MT_REPORT 2 |
#define | LONG_BITS (sizeof(long) << 3) |
#define | NUM_LONGS(bits) (((bits) + LONG_BITS - 1) / LONG_BITS) |
Functions | |
static bool | testBit (long bit, const long *array) |
#define ABS_CNT (ABS_MAX+1) |
Definition at line 67 of file qevdevtouchhandler.cpp.
Definition at line 58 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenData::processInputEvent().
Definition at line 61 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenData::processInputEvent().
#define ABS_MT_PRESSURE 0x3a |
Definition at line 73 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenData::processInputEvent().
#define ABS_MT_SLOT 0x2f |
Definition at line 64 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenHandler::QEvdevTouchScreenHandler(), and QEvdevTouchScreenData::processInputEvent().
#define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */ |
Definition at line 55 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenData::processInputEvent().
#define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */ |
Definition at line 70 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenData::processInputEvent().
#define input_event_sec time.tv_sec |
Definition at line 29 of file qevdevtouchhandler.cpp.
#define input_event_usec time.tv_usec |
Definition at line 33 of file qevdevtouchhandler.cpp.
#define LONG_BITS (sizeof(long) << 3) |
Definition at line 164 of file qevdevtouchhandler.cpp.
Referenced by testBit().
Definition at line 165 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenHandler::QEvdevTouchScreenHandler().
#define SYN_MT_REPORT 2 |
Definition at line 76 of file qevdevtouchhandler.cpp.
Referenced by QEvdevTouchScreenData::processInputEvent().
|
inlinestatic |
Definition at line 168 of file qevdevtouchhandler.cpp.
References LONG_BITS.