add main button press handling

This commit is contained in:
sigil-03 2025-11-05 12:14:21 -07:00
parent c8c42c0194
commit d815507bcc
2 changed files with 32 additions and 1 deletions

View file

@ -381,8 +381,15 @@ impl App {
#[cfg(feature = "enable_print")]
println!("new brightness: {:?}", self.settings.brightness);
}
pub fn main_button(&mut self) {
pub fn main_button_press(&mut self) {
// TODO
#[cfg(feature = "enable_print")]
println!("main button press");
}
pub fn main_button_release(&mut self) {
// TODO
#[cfg(feature = "enable_print")]
println!("main button release");
}
pub fn coin_detect(&self) {
#[cfg(feature = "enable_print")]