add main button press handling
This commit is contained in:
parent
c8c42c0194
commit
d815507bcc
2 changed files with 32 additions and 1 deletions
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue