pub fn pressed_since(&mut self) -> bool {
        if self.pressed_since {
            self.pressed_since = false;
            true
        } else {
            false
        }
    }
/// has the button been pressed since it last was checked
has the button been pressed since it last was checked
has the button been pressed since it last was checked
pub fn pressed_since(&mut self) -> bool {
        if self.pressed_since {
            self.pressed_since = false;
            true
        } else {
            false
        }
    }
pub fn pressed_since ( & mut self ) -> bool { if self . pressed_since { self . pressed_since = false ; true } else { false } }
has the button been pressed since it last was checked
has the button been pressed since it last was checked
&mut self
&mut self