MFi GamepadWorks on iOS ONLYThis extension allows for MFi gamepads to work within your game.
Features- Check for connection status.
- Detect button presses
- Menu button toggle
Get it-
Buy this Extension(How to Install and Update an Extension)DocumentationCredit goes towards "Roman Tkachuk" for his quality of work and me for the idea.
----------------------------------------------
Connection StatusThis block detects the status of your MFi gamepad if it’s connected or not.
Inputs - Boolean [Connected, Not Connected]
Button StatesDetects button information.
Inputs - Dropdown Menu (Up, Down, Left, Right, A, B, X, Y, L1, L2, R1, R2)
- Dropdown Menu (Pressed, Released, Down)
Menu Button ToggleReads the state of the Menu button.
Inputs - Dropdown Menu (On, Off)
Menu Button Toggle SetterSets the state of the Menu button.
Inputs - Dropdown Menu (On, Off)
----------------------------------------------
Version History- 1.0 first release!
- 1.1 Redone the Menu button code with new blocks etc.. (make sure to removed the previous blocks in your code before updating!)
- 1.2 fixed issues for compiling to other platforms. No longer do you get the errors.