![]() |
Sunshine v2025.628.4510
Self-hosted game stream host for Moonlight.
|
Declarations for gamepad, keyboard, and mouse input handling. More...
Go to the source code of this file.
Classes | |
| struct | input::touch_port_t |
Functions | |
| std::shared_ptr< input_t > | input::alloc (safe::mail_t mail) |
| std::unique_ptr< platf::deinit_t > | input::init () |
| void | input::passthrough (std::shared_ptr< input_t > &input, std::vector< std::uint8_t > &&input_data) |
| Called on the control stream thread to queue an input message. | |
| void | input::print (void *payload) |
| bool | input::probe_gamepads () |
| void | input::reset (std::shared_ptr< input_t > &input) |
| std::pair< float, float > | input::scale_client_contact_area (const std::pair< float, float > &val, uint16_t rotation, const std::pair< float, float > &scalar) |
| Scale the ellipse axes according to the provided size. | |
Declarations for gamepad, keyboard, and mouse input handling.
| void input::passthrough | ( | std::shared_ptr< input_t > & | input, |
| std::vector< std::uint8_t > && | input_data ) |
Called on the control stream thread to queue an input message.
| input | The input context pointer. |
| input_data | The input message. |
| std::pair< float, float > input::scale_client_contact_area | ( | const std::pair< float, float > & | val, |
| uint16_t | rotation, | ||
| const std::pair< float, float > & | scalar ) |
Scale the ellipse axes according to the provided size.
| val | The major and minor axis pair. |
| rotation | The rotation value from the touch/pen event. |
| scalar | The scalar cartesian coordinate pair. |