glfw: move constants into separate modules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
166d621797
commit
6308a2f8dd
4 changed files with 30 additions and 25 deletions
10
glfw/src/action.zig
Normal file
10
glfw/src/action.zig
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue