Home
last modified time | relevance | path

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

/StarryEngine/starry_server/src/core/input/
H A Dinputs.rs46 flags: MouseFlags, field
60 flags: MouseFlags::empty(), in new()
89 let flags = MouseFlags::from_bits_truncate(packet); in handle() localVariable
90 if flags.contains(MouseFlags::ALWAYS_ONE) { in handle()
91 self.flags = flags; in handle()
97 if self.flags.contains(MouseFlags::X_OVERFLOW) { in handle()
99 } else if self.flags.contains(MouseFlags::X_SIGN) { in handle()
107 if self.flags.contains(MouseFlags::Y_OVERFLOW) { in handle()
109 } else if self.flags.contains(MouseFlags::Y_SIGN) { in handle()