Game Controller Support
SuperwallKit supports Game Controller input.
First, set the SuperwallOption
isGameControllerEnabled
to true
:
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
:
First, set the SuperwallOption
isGameControllerEnabled
to true
:
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
:
First set the SuperwallOption
isGameControllerEnabled
to true
:
Then Superwall will automatically listen for gamepad events and forward them to your paywall!
First set the SuperwallOption
isGameControllerEnabled
to true
:
Then Superwall will automatically listen for gamepad events and forward them to your paywall!
First set the SuperwallOption
isGameControllerEnabled
to true
:
Then Superwall will automatically listen for gamepad events and forward them to your paywall!