zig-glfw/src/action.zig
Stephen Gutekanst 15c072c20c glfw: correct comment style
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 11:52:38 -07:00

12 lines
310 B
Zig

//! Key and button actions
const c = @cImport(@cInclude("GLFW/glfw3.h"));
/// 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;