Lines Matching refs:scancode
46 pub fn parse(&mut self, scancode: u8) -> TypeOneFSMState { in parse()
49 .parse(scancode, &mut self.status, &self.tty); in parse()
74 scancode: u8, in parse()
81 return self.handle_start(scancode, scancode_status, tty); in parse()
87 return self.handle_func0(scancode, scancode_status, tty); in parse()
90 return self.handle_type3(scancode, scancode_status, tty); in parse()
104 scancode: u8, in handle_start()
109 match scancode { in handle_start()
118 return TypeOneFSMState::Type3.handle_type3(scancode, scancode_status, tty); in handle_start()
126 scancode: u8, in handle_pause_break()
134 return self.handle_type3(scancode, scancode_status, tty); in handle_pause_break()
137 if scancode != PAUSE_BREAK_SCAN_CODE[i as usize] { in handle_pause_break()
138 return self.handle_type3(scancode, scancode_status, tty); in handle_pause_break()
151 scancode: u8, in handle_func0()
156 match scancode { in handle_func0()
293 scancode: u8, in handle_type3()
298 let flag_make = if (scancode & (TYPE1_KEYCODE_FLAG_BREAK as u8)) > 0 { in handle_type3()
306 let index = scancode & 0x7f; in handle_type3()
378 scancode: u8, in handle_prtsc_press()
391 if scancode != PRTSC_SCAN_CODE[i as usize] { in handle_prtsc_press()
392 return self.handle_type3(scancode, scancode_status, tty); in handle_prtsc_press()
406 scancode: u8, in handle_prtsc_release()
419 if scancode != PRTSC_SCAN_CODE[i as usize] { in handle_prtsc_release()
420 return self.handle_type3(scancode, scancode_status, tty); in handle_prtsc_release()