Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dkeyboard_parser.rs28 current_state: TypeOneFSMState, field
36 current_state: TypeOneFSMState::Start, in new()
43 self.current_state = self.current_state.parse(scancode, &mut self.status); in parse()
44 self.current_state in parse()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs190 current_state: MouseState::new(), in new()
298 guard.current_state.flags = flags; in process_packet()
301 let flags = guard.current_state.flags; in process_packet()
303 guard.current_state.x = self.get_x_movement(packet, flags); in process_packet()
307 let flags = guard.current_state.flags; in process_packet()
309 guard.current_state.y = self.get_y_movement(packet, flags); in process_packet()
419 current_state: MouseState, field