Sunshine master
Self-hosted game stream host for Moonlight.
inputtino_keyboard.h
Go to the documentation of this file.
1
5#pragma once
6
7// lib includes
8#include <boost/locale.hpp>
9#include <inputtino/input.hpp>
10#include <libevdev/libevdev.h>
11
12// local includes
13#include "inputtino_common.h"
14
15using namespace std::literals;
16
17namespace platf::keyboard {
26 void update(input_raw_t *raw, uint16_t modcode, bool release, uint8_t flags);
27
35 void unicode(input_raw_t *raw, char *utf8, int size);
36} // namespace platf::keyboard
void unicode(input_t &input, char *utf8, int size)
Submit UTF-8 text input to the keyboard backend.
Definition inputtino.cpp:94
Declarations for inputtino common input handling.
void update(input_raw_t *raw, int nr, const gamepad_state_t &gamepad_state)
Apply the supplied state update to the platform backend.
Definition inputtino_gamepad.cpp:217