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

Definitions for inputtino touch input handling. More...

#include <boost/locale.hpp>
#include <inputtino/input.hpp>
#include <libevdev/libevdev.h>
#include "inputtino_common.h"
#include "inputtino_touch.h"
#include "src/config.h"
#include "src/logging.h"
#include "src/platform/common.h"
#include "src/utility.h"
Include dependency graph for inputtino_touch.cpp:

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

Definitions 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.