libevdevxx 0.5.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) 2025 Daniel K. O.
5 * SPDX-License-Identifier: MIT
6 */
7
8#ifndef LIBEVDEVXX_TYPE_CODE_HPP
9#define LIBEVDEVXX_TYPE_CODE_HPP
10
11#include <string>
12#include <utility>
13
14#include "Code.hpp"
15#include "Type.hpp"
16
17
18namespace evdev {
19
20 struct TypeCode {
23 };
24
25 std::pair<std::string, std::string>
26 to_strings(const TypeCode& tc);
27
28} // namespace evdev
29
30#endif
Definition Type.hpp:26
The namespace of libevdevxx.
Definition AbsInfo.hpp:18
Type type
Definition TypeCode.hpp:21
std::pair< std::string, std::string > to_strings(const TypeCode &tc)
Code code
Definition TypeCode.hpp:22
Definition TypeCode.hpp:20
Type-safe class for evdev codes (KEY_*, BTN_*, REL_*, etc).
Definition Code.hpp:30