glfw: ziggify gamepad action enumerations
Helps hexops/mach#37 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8a14d56fc3
commit
2154ee5aea
4 changed files with 23 additions and 15 deletions
|
|
@ -1,8 +1,6 @@
|
|||
//! Key and button actions
|
||||
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
/// Holds all GLFW C action enumerations in their raw form.
|
||||
/// Key and button actions
|
||||
pub const Action = enum(c_int) {
|
||||
/// The key or mouse button was released.
|
||||
release = c.GLFW_RELEASE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue