Sunshine latest
Self-hosted game stream host for Moonlight.
inputtino_mouse.h
Go to the documentation of this file.
1
5#pragma once
6// lib includes
7#include <boost/locale.hpp>
8#include <inputtino/input.hpp>
9#include <libevdev/libevdev.h>
10
11// local includes
12#include "inputtino_common.h"
13#include "src/platform/common.h"
14
15using namespace std::literals;
16
17namespace platf::mouse {
18 void move(input_raw_t *raw, int deltaX, int deltaY);
19
20 void move_abs(input_raw_t *raw, const touch_port_t &touch_port, float x, float y);
21
22 void button(input_raw_t *raw, int button, bool release);
23
24 void scroll(input_raw_t *raw, int high_res_distance);
25
26 void hscroll(input_raw_t *raw, int high_res_distance);
27
28 util::point_t get_location(input_raw_t *raw);
29} // namespace platf::mouse
Declarations for common platform specific utilities.
Declarations for inputtino common input handling.
Definition utility.h:966