mach: remove Action enum and all references to it

This commit is contained in:
iddev5 2022-05-18 18:25:20 +05:30 committed by Stephen Gutekanst
parent 7486b0ebea
commit f1e7c10fbb
2 changed files with 0 additions and 14 deletions

View file

@ -105,14 +105,6 @@ pub const CoreGlfw = struct {
return null;
}
fn toMachAction(action: glfw.Action) enums.Action {
return switch (action) {
.press => .press,
.release => .release,
.repeat => .repeat,
};
}
fn toMachKey(key: glfw.Key) enums.Key {
return switch (key) {
.a => .a,