7#ifndef GHOSTTY_VT_MOUSE_EVENT_H
8#define GHOSTTY_VT_MOUSE_EVENT_H
47 GHOSTTY_MOUSE_BUTTON_UNKNOWN = 0,
48 GHOSTTY_MOUSE_BUTTON_LEFT = 1,
49 GHOSTTY_MOUSE_BUTTON_RIGHT = 2,
50 GHOSTTY_MOUSE_BUTTON_MIDDLE = 3,
51 GHOSTTY_MOUSE_BUTTON_FOUR = 4,
52 GHOSTTY_MOUSE_BUTTON_FIVE = 5,
53 GHOSTTY_MOUSE_BUTTON_SIX = 6,
54 GHOSTTY_MOUSE_BUTTON_SEVEN = 7,
55 GHOSTTY_MOUSE_BUTTON_EIGHT = 8,
56 GHOSTTY_MOUSE_BUTTON_NINE = 9,
57 GHOSTTY_MOUSE_BUTTON_TEN = 10,
58 GHOSTTY_MOUSE_BUTTON_ELEVEN = 11,
GhosttyMouseAction ghostty_mouse_event_get_action(GhosttyMouseEvent event)
GhosttyResult ghostty_mouse_event_new(const GhosttyAllocator *allocator, GhosttyMouseEvent *event)
void ghostty_mouse_event_free(GhosttyMouseEvent event)
GhosttyMods ghostty_mouse_event_get_mods(GhosttyMouseEvent event)
void ghostty_mouse_event_clear_button(GhosttyMouseEvent event)
void ghostty_mouse_event_set_action(GhosttyMouseEvent event, GhosttyMouseAction action)
GhosttyMousePosition ghostty_mouse_event_get_position(GhosttyMouseEvent event)
bool ghostty_mouse_event_get_button(GhosttyMouseEvent event, GhosttyMouseButton *out_button)
struct GhosttyMouseEvent * GhosttyMouseEvent
void ghostty_mouse_event_set_position(GhosttyMouseEvent event, GhosttyMousePosition position)
void ghostty_mouse_event_set_mods(GhosttyMouseEvent event, GhosttyMods mods)
void ghostty_mouse_event_set_button(GhosttyMouseEvent event, GhosttyMouseButton button)
@ GHOSTTY_MOUSE_ACTION_PRESS
@ GHOSTTY_MOUSE_ACTION_RELEASE
@ GHOSTTY_MOUSE_ACTION_MOTION