diff --git a/src/input.zig b/src/input.zig index c1c982a..cd420d4 100644 --- a/src/input.zig +++ b/src/input.zig @@ -86,7 +86,7 @@ pub const Key = packed struct { pub fn isAscii(this: @This()) bool { return this.mod.alt == false and this.mod.ctrl == false and // no modifier keys (this.cp >= 32 and this.cp <= 126 or // ascii printable characters (except for input.Delete) - this.cp >= 128 and this.cp <= 255); // extended ascii codes + this.cp >= 128 and this.cp <= 255); // extended ascii codes } }; @@ -171,8 +171,8 @@ pub const KpLeft: u21 = 57417; pub const KpRight: u21 = 57418; pub const KpUp: u21 = 57419; pub const KpDown: u21 = 57420; -pub const KpPage_Up: u21 = 57421; -pub const KpPage_Down: u21 = 57422; +pub const KpPageUp: u21 = 57421; +pub const KpPageDown: u21 = 57422; pub const KpHome: u21 = 57423; pub const KpEnd: u21 = 57424; pub const KpInsert: u21 = 57425;