tablet-tool: document event data

This commit is contained in:
Simon Ser 2024-03-17 23:52:02 +01:00 committed by Isaac Freund
parent 5a5aa72571
commit 873e8e4558

View file

@ -34,7 +34,6 @@ enum wlr_tablet_tool_type {
WLR_TABLET_TOOL_TYPE_LENS, WLR_TABLET_TOOL_TYPE_LENS,
/** A rotary device with positional and rotation data */ /** A rotary device with positional and rotation data */
WLR_TABLET_TOOL_TYPE_TOTEM, WLR_TABLET_TOOL_TYPE_TOTEM,
}; };
struct wlr_tablet_tool { struct wlr_tablet_tool {
@ -68,10 +67,10 @@ struct wlr_tablet {
double width_mm, height_mm; double width_mm, height_mm;
struct { struct {
struct wl_signal axis; struct wl_signal axis; // struct wlr_tablet_tool_axis_event
struct wl_signal proximity; struct wl_signal proximity; // struct wlr_tablet_tool_proximity_event
struct wl_signal tip; struct wl_signal tip; // struct wlr_tablet_tool_tip_event
struct wl_signal button; struct wl_signal button; // struct wlr_tablet_tool_button_event
} events; } events;
struct wl_array paths; // char * struct wl_array paths; // char *