• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Objective-C
  • Created over 13 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MIT-licensed iOS SDK for iCade and iControlPad, including sample application

iCADE-iOS

Project which demonstrates using the iCADE, iControlPad and Gametel with iOS devices.

Demo

Pair up you iCADE, iControlPad or Gametel controller, run the project and you're off.

Usage

To use in your own app, copy the following 3 files from the iCade folder:

  • iCadeReaderView.h, iCadeReaderView.m and iCadeState.h

Add an instance of iCadeReaderView to your main game view. Set view.active = YES to ensure the view receives events from the controller. In addition, when active, the view will automatically handle didEnterBackground and didBecomeActive notifications, to avoid loss of events.
You can either read the iCadeReaderView.iCadeState property to determine the current state, or implement the iCadeEventDelegate protocol on your target to receive appropriate notifications.

Hardware Compatibility

Mapping

Lists the mapping between various controllers. Directional controls are the same. It is recommended you use the latest v2.3 iControlPad firmware and start the device by holding down A+B+Y then START. This firmware will be official soon.

8 buttons are mapped as follows:

iCADE    iControlPad (2.1a, 2.3), Gametel
A        SELECT
B        LEFT SHOULDER
C        START
D        RIGHT SHOULDER
E        Y
F        A
G        B
H        X

The iCADE button layout is:

A C E G
B D F H

License

Copyright (C) 2011, 2012 by Stuart Carnie

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

go-simd

Optimized functions for Go using SIMD
Assembly
189
star
2

c64iphone

Commodore 64 for iPhone
Objective-C
46
star
3

gridfsfusepy

A FUSE filesystem for GridFS written in Python
Python
23
star
4

lua-snowflake

An implementation of Snowflake for Lua. Snowflake is an algorithm which supports ordered, distributed id generation
C
19
star
5

vice-emu

Fork of VICE emulator from Source Forge
C
12
star
6

SwiftSPIRV-Cross

Elegant bindings to glslang and SPIRV-Cross
C++
12
star
7

autoingest

Utility to facilitate automatic retrieval of iTunes Connect reports.
Python
8
star
8

sharp-c64

Port of the Frodo Commodore 64 emulator to C#
C#
7
star
9

iphone-sdk-examples

various examples using the iPhone SDK
6
star
10

REminiscence-iphone

REminiscence port to the iPhone
C
5
star
11

clang

Fork of the Clang compiler with my experiments; check NSURL-literal branch
C++
5
star
12

toml-plugin

IntelliJ plugin for TOML
Kotlin
5
star
13

cl-copy-paste

Command line utilities to provide copy and paste using the system Clipboard
C#
5
star
14

Mono.TextTemplating

A fork of the Mono T4 engine
C#
4
star
15

jstrace

Firebug extension for tracing executing javascript code are generate call tree
JavaScript
3
star
16

time-tracker-mac

Time Tracker for Mac - track time spent on projects and tasks (clone)
Objective-C
3
star
17

cyclone68000

Cyclone 68000 emulator
C++
3
star
18

sdl-mini

Lean version of SDL for specific mobile projects. Very much a WIP right now.
C
2
star
19

nhcontrib

Clone of the NHContrib's Subversion repository on sourceforge.net
C#
2
star
20

gikit

Toolkit for abstracting input devices such as joysticks for iPhone OS related products
2
star
21

raytracing

Raytracing in a weekend, week and life
Swift
2
star
22

iAmiga

iAmiga runtime
C
2
star
23

pivotalEnhanced

Safari extension to add markdown support to pivotaltracker.com
JavaScript
1
star
24

lua-mesos

Lua framework for Apache Mesos
C++
1
star
25

GENie-examples

Examples for the GENie project generator tool
Lua
1
star
26

tidy2

Simple binding to libtidy; based off original tidy bindings for node by Martyn Garcia
C++
1
star
27

nhibernate-test

Simple test framework to submit bugs for NHibernate 3.2+
C#
1
star
28

dotfiles

My dotfiles
Shell
1
star
29

sgc_general

My textmate bundle of common commands
1
star
30

vim-openssl

pathogen compatible version of openssl.vim
Vim Script
1
star