Searched refs:from_code (Results 1 – 2 of 2) sorted by relevance
161 let motion_action = MotionAction::from_code(action, motion_action_button); in process_movement()
175 pub fn from_code(action: u32, action_button: MotionButton) -> Self { in from_code() method