summaryrefslogtreecommitdiff
path: root/src/win.rs
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-16 11:02:11 -0500
committerpommicket <pommicket@gmail.com>2022-12-16 11:02:11 -0500
commit6a930a61176b841b1c186adc4b7fbae857c886d6 (patch)
tree0fc400ca249d73c4550d2159466320404a520104 /src/win.rs
parent1df91af085d951c6e7234f5778a9ba9993c57408 (diff)
a few changes
Diffstat (limited to 'src/win.rs')
-rw-r--r--src/win.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/win.rs b/src/win.rs
index 7115a43..fde3fcb 100644
--- a/src/win.rs
+++ b/src/win.rs
@@ -61,6 +61,8 @@ pub enum Key {
N7,
N8,
N9,
+ Minus,
+ Equals,
NumPad0,
NumPad1,
NumPad2,
@@ -142,6 +144,8 @@ impl Key {
N7 => Key::N7,
N8 => Key::N8,
N9 => Key::N9,
+ MINUS => Key::Minus,
+ EQUALS => Key::Equals,
UP => Key::Up,
LEFT => Key::Left,
RIGHT => Key::Right,
@@ -222,6 +226,8 @@ impl Key {
Key::N7 => N7,
Key::N8 => N8,
Key::N9 => N9,
+ Key::Minus => MINUS,
+ Key::Equals => EQUALS,
Key::Up => UP,
Key::Left => LEFT,
Key::Right => RIGHT,