diff --git a/android-activity/src/input.rs b/android-activity/src/input.rs index 85a0b9f..260d3e3 100644 --- a/android-activity/src/input.rs +++ b/android-activity/src/input.rs @@ -395,10 +395,15 @@ impl ButtonState { self.0 & ndk_sys::AMOTION_EVENT_BUTTON_SECONDARY != 0 } #[inline] - pub fn teriary(self) -> bool { + pub fn tertiary(self) -> bool { self.0 & ndk_sys::AMOTION_EVENT_BUTTON_TERTIARY != 0 } #[inline] + #[deprecated = "misspelled; use `tertiary()` instead; will be removed in a future version"] + pub fn teriary(self) -> bool { + self.tertiary() + } + #[inline] pub fn back(self) -> bool { self.0 & ndk_sys::AMOTION_EVENT_BUTTON_BACK != 0 }