mach/src/action.zig
Stephen Gutekanst 453b763ebd glfw: mv glfw/* .
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-24 05:20:27 -07:00

12 lines
291 B
Zig

//! Key and button actions
const c = @import("c.zig").c;
/// The key or mouse button was released.
pub const release = c.GLFW_RELEASE;
/// The key or mouse button was pressed.
pub const press = c.GLFW_PRESS;
/// The key was held down until it repeated.
pub const repeat = c.GLFW_REPEAT;