KWin
Loading...
Searching...
No Matches
src
backends
libinput
libinputbackend.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4
SPDX-License-Identifier: GPL-2.0-or-later
5
*/
6
7
#pragma once
8
9
#include "
core/inputbackend.h
"
10
11
#include <QThread>
12
13
namespace
KWin
14
{
15
16
class
Session;
17
18
namespace
LibInput
19
{
20
class
Connection;
21
}
22
23
class
KWIN_EXPORT
LibinputBackend
:
public
InputBackend
24
{
25
Q_OBJECT
26
27
public
:
28
explicit
LibinputBackend
(
Session
*session, QObject *parent =
nullptr
);
29
~LibinputBackend
()
override
;
30
31
void
initialize()
override
;
32
void
updateScreens()
override
;
33
34
private
:
35
QThread m_thread;
36
std::unique_ptr<LibInput::Connection> m_connection;
37
};
38
39
}
// namespace KWin
KWin::InputBackend
Definition
inputbackend.h:21
KWin::LibinputBackend
Definition
libinputbackend.h:24
KWin::Session
Definition
session.h:28
inputbackend.h
KWin
Definition
activation_test.cpp:20
Generated on Sat Feb 17 2024 01:42:09 for KWin by
1.10.0