This commit is contained in:
parent
311755c812
commit
5c3d4ac7a9
30 changed files with 177 additions and 108 deletions
|
|
@ -7,7 +7,7 @@ use mammoth::thread;
|
|||
#[allow(dead_code)]
|
||||
#[derive(PartialEq, Eq, PartialOrd, Ord, Copy, Clone)]
|
||||
enum Keycode {
|
||||
UnknownKeycode = 0x0,
|
||||
Unknown = 0x0,
|
||||
|
||||
A = 0x1,
|
||||
B = 0x2,
|
||||
|
|
@ -135,7 +135,7 @@ impl Keycode {
|
|||
0x37 => Keycode::Period,
|
||||
0x38 => Keycode::FSlash,
|
||||
0x39 => Keycode::Esc,
|
||||
_ => Keycode::UnknownKeycode,
|
||||
_ => Keycode::Unknown,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue