|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Touchscreen coordinate bounds used to scale absolute input. More...
#include <src/input.h>
Public Member Functions | |
| operator bool () const | |
| Check whether the touch-port bounds are initialized. | |
Public Attributes | |
| float | client_offsetX |
| Horizontal client viewport offset used when scaling touch input. | |
| float | client_offsetY |
| Vertical client viewport offset used when scaling touch input. | |
| int | env_height |
| Height of the full capture environment in physical pixels. | |
| int | env_logical_height |
| Height of the full capture environment after display scaling. | |
| int | env_logical_width |
| Width of the full capture environment after display scaling. | |
| int | env_width |
| Width of the full capture environment in physical pixels. | |
| float | scalar_inv |
| Inverse scale factor from client coordinates to display coordinates. | |
| float | scalar_tpcoords |
| Scale factor from client coordinates to touch-port coordinates. | |
Public Attributes inherited from platf::touch_port_t | |
| int | height |
| Frame or display height in pixels. | |
| int | logical_height |
| Logical height after display scaling. | |
| int | logical_width |
| Logical width after display scaling. | |
| int | offset_x |
| Horizontal offset in physical pixels. | |
| int | offset_y |
| Vertical offset in physical pixels. | |
| int | width |
| Frame or display width in pixels. | |
Touchscreen coordinate bounds used to scale absolute input.