MFi Gamepad [For iOS] (Native extension) (UPDATED TO 1.2!)

DJEmergency

  • Posts: 170
MFi Gamepad
Works on iOS ONLY

This 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)


Documentation

Credit goes towards "Roman Tkachuk" for his quality of work and me for the idea.

----------------------------------------------

Connection Status
This block detects the status of your MFi gamepad if it’s connected or not.



Inputs
- Boolean [Connected, Not Connected]

Button States
Detects button information.



Inputs
- Dropdown Menu (Up, Down, Left, Right, A, B, X, Y, L1, L2, R1, R2)
- Dropdown Menu (Pressed, Released, Down)

Menu Button Toggle
Reads the state of the Menu button.



Inputs
- Dropdown Menu (On, Off)

Menu Button Toggle Setter
Sets 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.

« Last Edit: April 15, 2016, 12:44:54 am by DJEmergency »

DJEmergency

  • Posts: 170
Updated to 1.2!

designpeg

  • Posts: 731
is this going to get analogue stick support at any point in the future? That would be a deciding factor for me to purchase.

DJEmergency

  • Posts: 170
is this going to get analogue stick support at any point in the future? That would be a deciding factor for me to purchase.

I plan to add support in the future if sales go good.

designpeg

  • Posts: 731
That sounds great, but I'd suggest that it may work the other way around - with analogue support sales would go good!