libevdevxx 0.4.0
A C++ wrapper for libevdev.
Loading...
Searching...
No Matches
TypeCode.hpp
Go to the documentation of this file.
1/*
2 * libevdevxx - a C++ wrapper for libevdev
3 *
4 * Copyright (C) 2021-2023 Daniel K. O.
5 * SPDX-License-Identifier: MIT
6 */
7
8
9#ifndef LIBEVDEVXX_TYPE_CODE_HPP
10#define LIBEVDEVXX_TYPE_CODE_HPP
11
12
13#include <string>
14#include <utility>
15
16#include "Code.hpp"
17#include "Type.hpp"
18
19
20namespace evdev {
21
22
23 struct TypeCode {
26 };
27
28
29 std::pair<std::string, std::string>
30 to_strings(const TypeCode& tc);
31
32}
33
34
35#endif
Definition: Type.hpp:28
The namespace of libevdevxx.
Definition: AbsInfo.hpp:20
Type type
Definition: TypeCode.hpp:24
std::pair< std::string, std::string > to_strings(const TypeCode &tc)
Code code
Definition: TypeCode.hpp:25
Definition: TypeCode.hpp:23
Type-safe class for evdev codes (KEY_*, BTN_*, REL_*, etc).
Definition: Code.hpp:32