Sunshine master
Self-hosted game stream host for Moonlight.
inputtino_touch.h File Reference

Declarations for inputtino touch input handling. More...

#include <boost/locale.hpp>
#include <inputtino/input.hpp>
#include <libevdev/libevdev.h>
#include "inputtino_common.h"
#include "src/platform/common.h"
Include dependency graph for inputtino_touch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void platf::touch::update (client_input_raw_t *raw, const touch_port_t &touch_port, const touch_input_t &touch)
 Apply the supplied state update to the platform backend.
 

Detailed Description

Declarations for inputtino touch input handling.

Function Documentation

◆ update()

void platf::touch::update ( client_input_raw_t * raw,
const touch_port_t & touch_port,
const touch_input_t & touch )

Apply the supplied state update to the platform backend.

Parameters
rawPlatform-specific input backend state.
touch_portTouch coordinate bounds used for scaling.
touchTouch event data to apply to the virtual device.