tiny.wayland.protocol.core.wl_pointer.enumerations
Defined in protocol.core.wl_pointer.
API (6)
Values and defaults
Public values and defaults.
Source
Source: lib/wayland/src/protocol/generated/core.zig:1869
zig
pub const enumerations = struct { pub const @"error": schema.Enumeration = .{ .name = "error", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "role", .value = 0, .since = 1, .deprecated_since = null }, }, }; pub const button_state: schema.Enumeration = .{ .name = "button_state", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "released", .value = 0, .since = 1, .deprecated_since = null }, .{ .name = "pressed", .value = 1, .since = 1, .deprecated_since = null }, }, }; pub const axis: schema.Enumeration = .{ .name = "axis", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "vertical_scroll", .value = 0, .since = 1, .deprecated_since = null }, .{ .name = "horizontal_scroll", .value = 1, .since = 1, .deprecated_since = null }, }, }; pub const axis_source: schema.Enumeration = .{ .name = "axis_source", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "wheel", .value = 0, .since = 1, .deprecated_since = null }, .{ .name = "finger", .value = 1, .since = 1, .deprecated_since = null }, .{ .name = "continuous", .value = 2, .since = 1, .deprecated_since = null }, .{ .name = "wheel_tilt", .value = 3, .since = 6, .deprecated_since = null }, }, }; pub const axis_relative_direction: schema.Enumeration = .{ .name = "axis_relative_direction", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "identical", .value = 0, .since = 1, .deprecated_since = null }, .{ .name = "inverted", .value = 1, .since = 1, .deprecated_since = null }, }, }; pub const all = [_]schema.Enumeration{ @"error", button_state, axis, axis_source, axis_relative_direction }; };Also reachable as
protocol.generated.core.wl_pointer.enumerations.
Audit
| Definitions | 7 |
|---|---|
| Public names | 14 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |