Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
kwin_input.h File Reference

Keyboard, mouse and touch for a private KWin desktop, through its fake-input protocol. More...

#include "virtualhid_common.h"
#include <cstdint>
Include dependency graph for kwin_input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool platf::kwin_input::active (const input_raw_t *raw)
void platf::kwin_input::move (input_raw_t *raw, int delta_x, int delta_y)
void platf::kwin_input::move_abs (input_raw_t *raw, float x, float y)
void platf::kwin_input::button (input_raw_t *raw, int button, bool release)
void platf::kwin_input::scroll (input_raw_t *raw, int high_resolution_distance, bool horizontal)
void platf::kwin_input::key (input_raw_t *raw, std::uint16_t key_code, bool release)
void platf::kwin_input::unicode (input_raw_t *raw, const char *utf8, int size)
void platf::kwin_input::touch (client_input_raw_t *raw, const touch_input_t &touch)

Detailed Description

Keyboard, mouse and touch for a private KWin desktop, through its fake-input protocol.

Definition in file kwin_input.h.

Function Documentation

◆ active()

bool platf::kwin_input::active ( const input_raw_t * raw)
inline

Definition at line 184 of file kwin_input.cpp.

◆ button()

void platf::kwin_input::button ( input_raw_t * raw,
int button,
bool release )
inline

Definition at line 198 of file kwin_input.cpp.

◆ key()

void platf::kwin_input::key ( input_raw_t * raw,
std::uint16_t key_code,
bool release )
inline

Definition at line 227 of file kwin_input.cpp.

◆ move()

void platf::kwin_input::move ( input_raw_t * raw,
int delta_x,
int delta_y )
inline

Definition at line 188 of file kwin_input.cpp.

◆ move_abs()

void platf::kwin_input::move_abs ( input_raw_t * raw,
float x,
float y )
inline

Definition at line 193 of file kwin_input.cpp.

◆ scroll()

void platf::kwin_input::scroll ( input_raw_t * raw,
int high_resolution_distance,
bool horizontal )
inline

Definition at line 222 of file kwin_input.cpp.

◆ touch()

void platf::kwin_input::touch ( client_input_raw_t * raw,
const touch_input_t & touch )
inline

Definition at line 254 of file kwin_input.cpp.

◆ unicode()

void platf::kwin_input::unicode ( input_raw_t * raw,
const char * utf8,
int size )
inline

Definition at line 236 of file kwin_input.cpp.