Changeset View
Changeset View
Standalone View
Standalone View
autotests/libinput/key_event_test.cpp
Show All 15 Lines | |||||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #include "mock_libinput.h" | 20 | #include "mock_libinput.h" | ||
21 | #include "../../libinput/device.h" | 21 | #include "../../libinput/device.h" | ||
22 | #include "../../libinput/events.h" | 22 | #include "../../libinput/events.h" | ||
23 | 23 | | |||
24 | #include <QtTest/QtTest> | 24 | #include <QtTest> | ||
25 | 25 | | |||
26 | #include <linux/input.h> | 26 | #include <linux/input.h> | ||
27 | 27 | | |||
28 | Q_DECLARE_METATYPE(libinput_key_state) | 28 | Q_DECLARE_METATYPE(libinput_key_state) | ||
29 | 29 | | |||
30 | using namespace KWin::LibInput; | 30 | using namespace KWin::LibInput; | ||
31 | 31 | | |||
32 | class TestLibinputKeyEvent : public QObject | 32 | class TestLibinputKeyEvent : public QObject | ||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |