SDK
Game Controller Support
SuperwallKit supports Game Controller input.
First, set the SuperwallOption
isGameControllerEnabled
to true
:
Swift
For iOS, forward events to your paywall by calling gamepadValueChanged(gamepad:element:)
from your own gamepad’s valueChanged
handler. In Android, forward motion
and key events using dispatchKeyEvent
and dispatchMotionEvent
:
Swift