Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion android-activity/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
Loading