|
Hermes 0.7.0
Linux game streaming host
|
#include <src/platform/linux/kwin_session.h>
Classes | |
| struct | impl_t |
Public Member Functions | |
| connection_t (const connection_t &)=delete | |
| connection_t & | operator= (const connection_t &)=delete |
| const output_t & | output () const |
| bool | start_capture (bool cursor, std::uint64_t &serial, std::string &error) |
| bool | dispatch (std::chrono::milliseconds timeout) |
| bool | pointer_motion (double dx, double dy) |
| bool | pointer_absolute (double x, double y) |
| bool | button (std::uint32_t evdev_button, bool pressed) |
| bool | axis (bool horizontal, double value) |
| bool | key (std::uint32_t evdev_key, bool pressed) |
| bool | touch_down (std::uint32_t id, double x, double y) |
| bool | touch_motion (std::uint32_t id, double x, double y) |
| bool | touch_up (std::uint32_t id) |
| bool | keysym (std::uint32_t symbol, bool pressed) |
| std::string | error () const |
Static Public Member Functions | |
| static std::unique_ptr< connection_t > | open (const endpoint_t &endpoint, bool capture, bool input, std::string &error) |
Owns one accepted Wayland connection for its entire lifetime. A dead connection stays dead: a replacement compositor requires a new session. Calls are serialized; no global environment or default display is used.
Definition at line 35 of file kwin_session.h.
| bool platf::kwin::connection_t::axis | ( | bool | horizontal, |
| double | value ) |
Definition at line 377 of file kwin_session.cpp.
| bool platf::kwin::connection_t::button | ( | std::uint32_t | evdev_button, |
| bool | pressed ) |
Definition at line 368 of file kwin_session.cpp.
| bool platf::kwin::connection_t::dispatch | ( | std::chrono::milliseconds | timeout | ) |
Definition at line 345 of file kwin_session.cpp.
| std::string platf::kwin::connection_t::error | ( | ) | const |
Definition at line 434 of file kwin_session.cpp.
| bool platf::kwin::connection_t::key | ( | std::uint32_t | evdev_key, |
| bool | pressed ) |
Definition at line 386 of file kwin_session.cpp.
| bool platf::kwin::connection_t::keysym | ( | std::uint32_t | symbol, |
| bool | pressed ) |
Definition at line 425 of file kwin_session.cpp.
|
static |
Definition at line 244 of file kwin_session.cpp.
| const output_t & platf::kwin::connection_t::output | ( | ) | const |
Definition at line 298 of file kwin_session.cpp.
| bool platf::kwin::connection_t::pointer_absolute | ( | double | x, |
| double | y ) |
Definition at line 359 of file kwin_session.cpp.
| bool platf::kwin::connection_t::pointer_motion | ( | double | dx, |
| double | dy ) |
Definition at line 350 of file kwin_session.cpp.
| bool platf::kwin::connection_t::start_capture | ( | bool | cursor, |
| std::uint64_t & | serial, | ||
| std::string & | error ) |
Definition at line 302 of file kwin_session.cpp.
| bool platf::kwin::connection_t::touch_down | ( | std::uint32_t | id, |
| double | x, | ||
| double | y ) |
Definition at line 395 of file kwin_session.cpp.
| bool platf::kwin::connection_t::touch_motion | ( | std::uint32_t | id, |
| double | x, | ||
| double | y ) |
Definition at line 405 of file kwin_session.cpp.
| bool platf::kwin::connection_t::touch_up | ( | std::uint32_t | id | ) |
Definition at line 415 of file kwin_session.cpp.