apprt/glfw: builds

This commit is contained in:
Mitchell Hashimoto
2025-05-08 10:44:49 -07:00
parent a3462dd2bd
commit 24d433333b
4 changed files with 93 additions and 90 deletions

View File

@@ -573,14 +573,14 @@ pub const Key = enum(c_int) {
/// True if this key is a modifier.
pub fn modifier(self: Key) bool {
return switch (self) {
.left_shift,
.left_control,
.left_alt,
.left_super,
.right_shift,
.right_control,
.right_alt,
.right_super,
.shift_left,
.control_left,
.alt_left,
.meta_left,
.shift_right,
.control_right,
.alt_right,
.meta_right,
=> true,
else => false,