about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-12-07 03:10:57 -0600
committergennyble <gen@nyble.dev>2024-12-07 03:10:57 -0600
commit67321406a514a9686eb07318894ed3d8964927cc (patch)
tree3f2ff56567a44f0c5a6fb6297cfa5bcf574e3d8e
parentf4cd5d7edc458535c8ab5245c5829a23fca4e5ef (diff)
downloadreally-etches-67321406a514a9686eb07318894ed3d8964927cc.tar.gz
really-etches-67321406a514a9686eb07318894ed3d8964927cc.zip
Use north gamepad button to open save dialog
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 30c374b..59d004f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -105,6 +105,7 @@ impl Etch {
 				}
 				gilrs::EventType::ButtonPressed(btn, code) => match btn {
 					Button::South => self.clear_pressed(),
+					Button::North => self.save(),
 					_ => (),
 				},
 				_ => (),