zig-glfw/src/action.zig
Stephen Gutekanst 54f9d9d3b1 glfw: correct import references
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-17 20:19:46 -07:00

12 lines
293 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_RELEASE;
/// The key was held down until it repeated.
pub const repeat = c.GLFW_REPEAT;