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>.
Loading...
Searching...
No Matches
qdevicediscovery_static.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include "qdevicediscovery_static_p.h"
#include <QStringList>
#include <QCoreApplication>
#include <QObject>
#include <QHash>
#include <QDir>
#include <QLoggingCategory>
#include <QtCore/private/qcore_unix_p.h>
#include <linux/input.h>
#include <fcntl.h>
+ Include dependency graph for qdevicediscovery_static.cpp:

Go to the source code of this file.

Macros

#define KEY_CNT   (KEY_MAX+1)
 
#define REL_CNT   (REL_MAX+1)
 
#define ABS_CNT   (ABS_MAX+1)
 
#define ABS_MT_POSITION_X   0x35
 
#define ABS_MT_POSITION_Y   0x36
 
#define LONG_BITS   (sizeof(long) * 8 )
 
#define LONG_FIELD_SIZE(bits)   ((bits / LONG_BITS) + 1)
 

Functions

static bool testBit (long bit, const long *field)
 

Macro Definition Documentation

◆ ABS_CNT

#define ABS_CNT   (ABS_MAX+1)

◆ ABS_MT_POSITION_X

#define ABS_MT_POSITION_X   0x35

◆ ABS_MT_POSITION_Y

#define ABS_MT_POSITION_Y   0x36

◆ KEY_CNT

#define KEY_CNT   (KEY_MAX+1)

Definition at line 25 of file qdevicediscovery_static.cpp.

◆ LONG_BITS

#define LONG_BITS   (sizeof(long) * 8 )

Definition at line 40 of file qdevicediscovery_static.cpp.

Referenced by testBit().

◆ LONG_FIELD_SIZE

#define LONG_FIELD_SIZE ( bits)    ((bits / LONG_BITS) + 1)

Definition at line 41 of file qdevicediscovery_static.cpp.

◆ REL_CNT

#define REL_CNT   (REL_MAX+1)

Definition at line 28 of file qdevicediscovery_static.cpp.

Function Documentation

◆ testBit()

static bool testBit ( long bit,
const long * field )
static

Definition at line 43 of file qdevicediscovery_static.cpp.

References LONG_BITS.

Referenced by QEvdevTouchScreenHandler::QEvdevTouchScreenHandler(), QV4::MemorySegment::allocate(), QBitArray::at(), QV4::MemorySegment::free(), QBitArray::operator[](), and QBitArray::toUInt32().

+ Here is the caller graph for this function: