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

Declarations for inputtino keyboard input handling. More...

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

Go to the source code of this file.

Functions

void platf::keyboard::unicode (input_raw_t *raw, char *utf8, int size)
 Submit UTF-8 text input to the keyboard backend.
 
void platf::keyboard::update (input_raw_t *raw, uint16_t modcode, bool release, uint8_t flags)
 Apply the supplied state update to the platform backend.
 

Detailed Description

Declarations for inputtino keyboard input handling.

Function Documentation

◆ unicode()

void platf::keyboard::unicode ( input_raw_t * raw,
char * utf8,
int size )

Submit UTF-8 text input to the keyboard backend.

Parameters
rawPlatform-specific input backend state.
utf8UTF-8 text submitted by the client.
sizeNumber of bytes or elements requested.

◆ update()

void platf::keyboard::update ( input_raw_t * raw,
uint16_t modcode,
bool release,
uint8_t flags )

Apply the supplied state update to the platform backend.

Parameters
rawPlatform-specific input backend state.
modcodeModifier key code to update.
releaseWhether the key or button event is a release.
flagsBit flags that modify the requested operation.