Skip to content

Add iCade controller support to your Unity iOS project.

Notifications You must be signed in to change notification settings

zantoku/iCade-Unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iCade Unity

Add iCade controller support to your Unity iOS project.

Usage

In your Xcode project, add the files that begin with iCade to the Classes folder. Open AppController.mm from this repo, and copy/paste the lines of code to the correct places in the Unity generated AppController.mm of your project.

In MonoDevelop, simply use Input.GetKeyDown(KeyCode.JoystickButton#)), Input.GetKeyUp(KeyCode.JoystickButton#)) or Input.GetKey(KeyCode.JoystickButton#)). The corresponding button numbers are shown in iCade8-bitty.png.


iCadeReaderView.h, iCadeReaderView.m and iCadeState.h slightly modified (retains/releases delegate) from https://github.com/scarnie/iCade-iOS

About

Add iCade controller support to your Unity iOS project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 52.8%
  • Objective-C++ 32.0%
  • C 15.2%