zig-glfw/src/action.zig
Stephen Gutekanst 18e3d5487b glfw: deduplicate @cImport for type equivalence
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-17 20:14:09 -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;