| 1 | // SPDX-FileCopyrightText: 2008 Ingo Ruhnke <[email protected]> |
| 2 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | |
| 4 | #ifndef HEADER_EVDEV_HELPER_HPP |
| 5 | #define HEADER_EVDEV_HELPER_HPP |
| 6 | |
| 7 | #include <string> |
| 8 | |
| 9 | bool str2event(const std::string& name, int& type, int& code); |
| 10 | std::string btn2str(int i); |
| 11 | std::string abs2str(int i); |
| 12 | std::string rel2str(int i); |
| 13 | |
| 14 | #endif |
| 15 | |
| 16 | /* EOF */ |