pub fn update_button_up(&mut self, button: Buttons) {
        self.update_event(InputEvent::Button {
            button,
            state: false,
            repeat: false,
        });
    }
/// This method should get called by your key_up_event handler.
This method should get called by your key_up_event handler.
This method should get called by your key_up_event handler .
pub fn update_button_up(&mut self, button: Buttons) {
        self.update_event(InputEvent::Button {
            button,
            state: false,
            repeat: false,
        });
    }
pub fn update_button_up ( & mut self , button : Buttons ) { self . update_event ( InputEvent :: Button { button , state : false , repeat : false , } ) ; }
This method should get called by your key_up_event handler.
This method should get called by your key_up_event handler .
&mut self
button
Buttons
&mut self
button
Buttons