Skip to main content

source_is_remappable

Function source_is_remappable 

Source
pub fn source_is_remappable(device: Option<&EventDevice>) -> bool
Expand description

Whether the OS hook may suppress/remap a button event from this source.

Fail-closed on macOS-style attribution: only a known Logitech non-trackpad source is remappable. Unknown / non-Logitech / trackpad sources always pass through so a wedged remap policy can never brick the system pointer.