Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qlibinputpointer_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QLIBINPUTPOINTER_P_H
5
#
define
QLIBINPUTPOINTER_P_H
6
7
#
include
<
QtCore
/
QPoint
>
8
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
9
10
//
11
// W A R N I N G
12
// -------------
13
//
14
// This file is not part of the Qt API. It exists purely as an
15
// implementation detail. This header file may change from version to
16
// version without notice, or even be removed.
17
//
18
// We mean it.
19
//
20
21
struct
libinput_event_pointer;
22
23
QT_BEGIN_NAMESPACE
24
25
class
QLibInputPointer
26
{
27
public
:
28
QLibInputPointer();
29
30
void
processButton(libinput_event_pointer *e);
31
void
processMotion(libinput_event_pointer *e);
32
void
processAbsMotion(libinput_event_pointer *e);
33
void
processAxis(libinput_event_pointer *e);
34
35
void
setPos(
const
QPoint &pos);
36
37
private
:
38
QPointF m_pos;
39
Qt::MouseButtons m_buttons;
40
};
41
42
QT_END_NAMESPACE
43
44
#
endif
QLibInputHandler
Definition
qlibinputhandler_p.h:38
QLibInputHandler::onReadyRead
void onReadyRead()
Definition
qlibinputhandler.cpp:102
QLibInputHandler::~QLibInputHandler
~QLibInputHandler()
Definition
qlibinputhandler.cpp:93
QLibInputHandler::QLibInputHandler
QLibInputHandler(const QString &key, const QString &spec)
Definition
qlibinputhandler.cpp:55
QLibInputTouch
Definition
qlibinputtouch_p.h:31
Q_LOGGING_CATEGORY
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
Q_DECLARE_LOGGING_CATEGORY
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcQIORing)
liClose
static void liClose(int fd, void *user_data)
Definition
qlibinputhandler.cpp:27
liOpen
static QT_BEGIN_NAMESPACE int liOpen(const char *path, int flags, void *user_data)
Definition
qlibinputhandler.cpp:21
liInterface
static const struct libinput_interface liInterface
Definition
qlibinputhandler.cpp:33
liLogHandler
static void liLogHandler(libinput *libinput, libinput_log_priority priority, const char *format, va_list args)
Definition
qlibinputhandler.cpp:38
qtbase
src
platformsupport
input
libinput
qlibinputpointer_p.h
Generated on
for Qt by
1.18.0