glfw: correct import references

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-17 20:19:46 -07:00
parent c6e8bce219
commit 40e1520372
7 changed files with 60 additions and 60 deletions

View file

@ -5,19 +5,19 @@
const c = @import("c.zig").c;
/// If this bit is set one or more Shift keys were held down.
pub const shift = C.GLFW_MOD_SHIFT;
pub const shift = c.GLFW_MOD_SHIFT;
/// If this bit is set one or more Control keys were held down.
pub const control = C.GLFW_MOD_CONTROL;
pub const control = c.GLFW_MOD_CONTROL;
/// If this bit is set one or more Alt keys were held down.
pub const alt = C.GLFW_MOD_ALT;
pub const alt = c.GLFW_MOD_ALT;
/// If this bit is set one or more Super keys were held down.
pub const super = C.GLFW_MOD_SUPER;
pub const super = c.GLFW_MOD_SUPER;
/// If this bit is set the Caps Lock key is enabled and the glfw.lock_key_mods input mode is set.
pub const caps_lock = C.GLFW_MOD_CAPS_LOCK;
pub const caps_lock = c.GLFW_MOD_CAPS_LOCK;
/// If this bit is set the Num Lock key is enabled and the glfw.lock_key_mods input mode is set.
pub const num_lock = C.GLFW_MOD_NUM_LOCK;
pub const num_lock = c.GLFW_MOD_NUM_LOCK;