Searched refs:i16 (Results 1 – 1 of 1) sorted by relevance
48 dx: i16,50 dy: i16,82 fn sign_extend(value: u8) -> i16 { in handle() argument83 ((value as u16) | 0xFF00) as i16 in handle()102 self.dx = packet as i16; in handle()112 self.dy = packet as i16; in handle()