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
qlibinputhandler.cpp File Reference

(d4d91d7131abccb35245c3f8fb4802152b11591c)

#include "qlibinputhandler_p.h"
#include "qlibinputpointer_p.h"
#include "qlibinputkeyboard_p.h"
#include "qlibinputtouch_p.h"
#include <libudev.h>
#include <libinput.h>
#include <QtCore/QLoggingCategory>
#include <QtCore/QSocketNotifier>
#include <QtCore/private/qcore_unix_p.h>
#include <private/qguiapplication_p.h>
#include <private/qinputdevicemanager_p_p.h>
+ Include dependency graph for qlibinputhandler.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE int liOpen (const char *path, int flags, void *user_data)
 
static void liClose (int fd, void *user_data)
 
static void liLogHandler (libinput *libinput, libinput_log_priority priority, const char *format, va_list args)
 

Variables

static const struct libinput_interface liInterface
 

Function Documentation

◆ liClose()

static void liClose ( int fd,
void * user_data )
static

Definition at line 27 of file qlibinputhandler.cpp.

References Q_UNUSED, qt_safe_close(), and user_data.

+ Here is the call graph for this function:

◆ liLogHandler()

static void liLogHandler ( libinput * libinput,
libinput_log_priority priority,
const char * format,
va_list args )
static

Definition at line 38 of file qlibinputhandler.cpp.

References args, Q_UNUSED, and qCDebug.

Referenced by QLibInputHandler::QLibInputHandler().

+ Here is the caller graph for this function:

◆ liOpen()

static QT_BEGIN_NAMESPACE int liOpen ( const char * path,
int flags,
void * user_data )
static

Definition at line 21 of file qlibinputhandler.cpp.

References Q_UNUSED, qt_safe_open(), and user_data.

+ Here is the call graph for this function:

Variable Documentation

◆ liInterface

const struct libinput_interface liInterface
static
Initial value:
= {
}
static void liClose(int fd, void *user_data)
static QT_BEGIN_NAMESPACE int liOpen(const char *path, int flags, void *user_data)

Definition at line 33 of file qlibinputhandler.cpp.

Referenced by QLibInputHandler::QLibInputHandler().