|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Declarations for inputtino common input handling. More...
#include <boost/locale.hpp>#include <inputtino/input.hpp>#include <libevdev/libevdev.h>#include "src/config.h"#include "src/logging.h"#include "src/platform/common.h"#include "src/platform/linux/input/inputtino_seat.h"#include "src/utility.h"Go to the source code of this file.
Classes | |
| struct | platf::client_input_raw_t |
| Per-client inputtino devices for touch and pen input. More... | |
| struct | platf::input_raw_t |
| Global inputtino device handles shared by clients. More... | |
| struct | platf::joypad_state |
| inputtino joypad collection and its ownership state. More... | |
Typedefs | |
| using | platf::joypads_t = std::variant<inputtino::XboxOneJoypad, inputtino::SwitchJoypad, inputtino::PS5Joypad> |
| Variant of inputtino virtual gamepad implementations Sunshine can create. | |
Functions | |
| float | platf::deg2rad (float degree) |
| Convert degrees to radians for controller motion data. | |
| std::string | platf::inputtino_name_for_seat (std::string_view base_name) |
| Append the target seat name to an inputtino device name when needed. | |
Declarations for inputtino common input handling.
|
inline |
Convert degrees to radians for controller motion data.
| degree | Angle in degrees to convert. |
|
inline |
Append the target seat name to an inputtino device name when needed.
| base_name | Base uinput device name. |