You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/GateEngine/System/HID/GamePad/GamePad.swift
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -405,7 +405,7 @@ extension GamePad {
405
405
}
406
406
}
407
407
408
-
// Returns a receipt for the current press or nil if not pressed
408
+
/// Returns true if newly pressed for given `receipt`. If button is held down this returns true only the first time and then false until newly pressed again
/// Returns true if the button was already pressed for given `receipt` using the `isPressed(ifDifferent:_)` varient. If button is still held down this returns true
0 commit comments