ttx 0.1.0
Loading...
Searching...
No Matches
mouse_event_io.cpp File Reference
#include "ttx/mouse_event_io.h"
#include "di/container/string/encoding.h"
#include "di/format/prelude.h"
#include "di/util/unreachable.h"
#include "dius/tty.h"
#include "ttx/key_event.h"
#include "ttx/key_event_io.h"
#include "ttx/modifiers.h"
#include "ttx/mouse.h"
#include "ttx/mouse_event.h"

Classes

struct  ttx::ButtonMapping
 

Namespaces

namespace  ttx
 

Functions

auto ttx::serialize_mouse_event (MouseEvent const &event, MouseProtocol protocol, MouseEncoding encoding, di::Optional< MousePosition > prev_event_position, MouseScrollProtocol const &scroll_protocol, dius::tty::WindowSize const &window_size) -> di::Optional< di::TransparentString >
 
auto ttx::mouse_event_from_csi (CSI const &csi, di::Optional< dius::tty::WindowSize > window_size_if_using_pixels={}) -> di::Optional< MouseEvent >
 

Variables

constexpr auto ttx::button_mappings