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

Definitions for inputtino pen input handling. More...

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

Functions

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

Detailed Description

Definitions for inputtino pen input handling.

Function Documentation

◆ update()

void platf::pen::update ( client_input_raw_t * raw,
const touch_port_t & touch_port,
const pen_input_t & pen )

Apply the supplied state update to the platform backend.

Parameters
rawPlatform-specific input backend state.
touch_portTouch coordinate bounds used for scaling.
penPen event data to inject.