Search Unity

iCade and Unity 4.1

Discussion in 'iOS and tvOS' started by musikit, Jun 14, 2013.

  1. musikit

    musikit

    Joined:
    Jan 30, 2012
    Posts:
    160
    Trying to add iCade support to my app (not using the Prime31 plugin)
    following this example on
    http://mattfoxgames.com/2013/03/03/adding-icade-to-unity/

    however it seems to be based on a previous version of unity as i am unable to find the correct UIView to attach iCade to in order to get input.

    has anyone been successful in attaching iCade into their game?

    i tried using UnityGetGLView and UIApplication.rootViewController.view however attaching to those doesn't get me input from iCade.

    any help would be very appreciated.
     
  2. Game-Whiz

    Game-Whiz

    Joined:
    Nov 10, 2011
    Posts:
    122
  3. oogawagga

    oogawagga

    Joined:
    Nov 8, 2013
    Posts:
    5
    Hey! :) I'm pretty new to Unity and am trying to use your script for UnityFS on iOS to be controlled by a bluetooth keyboard.

    The controls are pretty basic on a regular computer (WASD, QE and a few other keys).

    How would you recommend setting the script up? Would I use it to poll?

    Thanks in advance! I appreciate any help!
     
  4. fornace

    fornace

    Joined:
    Feb 16, 2016
    Posts:
    1
    I'm not sure if we did something wrong with the integration, but we get a lot of errors like these:
    Undefined symbols for architecture arm64:
    "__registerButtonDownCallback", referenced from:
    _iCadeInput__registerButtonDownCallback_m1283643207 in Bulk_Assembly-CSharp_0.o
    _iCadeInput__registerButtonDownCallback_m1283643207 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _iCadeInput__registerButtonDownCallback_m1283643207)
    "__registerStateCallback", referenced from:
    _iCadeInput__registerStateCallback_m3931604218 in Bulk_Assembly-CSharp_0.o
    _iCadeInput__registerStateCallback_m3931604218 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _iCadeInput__registerStateCallback_m3931604218)
    "__getState", referenced from:
    _iCadeInput__getState_m214565315 in Bulk_Assembly-CSharp_0.o
    _iCadeInput_GetState_m3488053556 in Bulk_Assembly-CSharp_0.o
    _iCadeInput__getState_m214565315 in Bulk_Assembly-CSharp_0.o
    _iCadeInput_GetState_m3488053556 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _iCadeInput__getState_m214565315)
    "__registerButtonUpCallback", referenced from:
    _iCadeInput__registerButtonUpCallback_m3436649646 in Bulk_Assembly-CSharp_0.o
    _iCadeInput__registerButtonUpCallback_m3436649646 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _iCadeInput__registerButtonUpCallback_m3436649646)
    "__activate", referenced from:
    _iCadeInput__activate_m3658117472 in Bulk_Assembly-CSharp_0.o
    _iCadeInput_Activate_m2550958773 in Bulk_Assembly-CSharp_0.o
    _iCadeInput__activate_m3658117472 in Bulk_Assembly-CSharp_0.o
    _iCadeInput_Activate_m2550958773 in Bulk_Assembly-CSharp_0.o
    (maybe you meant: _iCadeInput__activate_m3658117472)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Already tried removing the arm64, but seems it's not working even with armv7.

    Thanks in advance for any suggestion!