It's really easy to setup Game Kit Controller in your project! Follow the steps below to import the package and get started!
If you are importing GKC into a new project then all you need to do is import the package and leave everything checked. That's it, you can skip the rest of this page, you're good to start making the game of your dreams!You can move onto the next section using the button below.
If you are importing GKC into an existing project then you'll need to uncheck the option to import the project settings and then continue onto Step #2.
When importing GKC into an existing project, or if you imported GKC without the project settings then you'll need to add the axes below into the Unity Input Manager (Edit > Project Settings > Input Manager) if you want to support using a gamepad.
These are the key mappings for four players when using local multiplayer (i.e. same screen multiplayer), but you can add just one if you are not going to use the local multiplayer functionality in your game.
Don't overwrite or remove the default axes set by Unity when adding the above axes - because these are also used and will be needed by GKC.
The key mapping values for each input above are identical for each the variant (i.e. player/input), only the variant names and the joystick number are different. For example Horizontal X1 has the same values as Horizontal X2, X3 and X4 with only the input "Name" and "Joy Num" being different. On Horizontal X1 the Joy Num is Joystick 1, whereas on Horizontal X2 the Joy Num is Joystick 2 etc. For the full breakdown of input values, you can check out the "Full Breakdown" tab of each section below.
After finishing adding the above key mappings then you will have the input for four players configured. This will allow up to four players to use the local multiplayer system.
When importing GKC into an existing project, or if you imported GKC without the project settings then you'll need to add the tags and layers used by this asset.
You can add the below tags and layers by going into the Unity Tags and Layers settings (Edit > Project Settings > Tags and Layers).
This step will no longer be necessary in the future and adding the key mappings will be handled by an in-editor setup wizard
This step will no longer be necessary in the future, adding the tags and layers will be handled by an in-editor setup wizard
That's it! You've completed importing GKC into your project and you can now start making the game of your dreams using Game Kit Controller!
Field
Horizontal X1
Horizontal X2
Horizontal X3
Horizontal X4
Name
Horizontal X1
Horizontal X2
Horizontal X3
Horizontal X4
Gravity
0
0
0
0
Dead
0.19
0.19
0.19
0.19
Sensitivity
1
1
1
1
Invert
-
-
-
-
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
X axis
X axis
X axis
X axis
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
Mouse X1
Mouse X2
Mouse X3
Mouse X4
Name
Mouse X1
Mouse X2
Mouse X3
Mouse X4
Gravity
0
0
0
0
Dead
0.19
0.19
0.19
0.19
Sensitivity
1
1
1
1
Invert
-
-
-
-
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
4th axis (Joysticks)
4th axis (Joysticks)
4th axis (Joysticks)
4th axis (Joysticks)
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
Left Trigger 1
Left Trigger 2
Left Trigger 3
Left Trigger 4
Name
Left Trigger 1
Left Trigger 2
Left Trigger 3
Left Trigger 4
Gravity
1000
1000
1000
1000
Dead
0.001
0.001
0.001
0.001
Sensitivity
100
100
100
100
Invert
-
-
-
-
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
9th axis (Joysticks)
9th axis (Joysticks)
9th axis (Joysticks)
9th axis (Joysticks)
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
Right Trigger 1
Right Trigger 2
Right Trigger 3
Right Trigger 4
Name
Right Trigger 1
Right Trigger 2
Right Trigger 3
Right Trigger 4
Gravity
1000
1000
1000
1000
Dead
0.001
0.001
0.001
0.001
Sensitivity
100
100
100
100
Invert
-
-
-
-
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
10th axis (Joysticks)
10th axis (Joysticks)
10th axis (Joysticks)
10th axis (Joysticks)
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
DPad X1
DPad X2
DPad X3
DPad X4
Name
DPad X1
DPad X2
DPad X3
DPad X4
Gravity
0
0
0
0
Dead
0.2
0.2
0.2
0.2
Sensitivity
1
1
1
1
Invert
-
-
-
-
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
6th axis (Joysticks)
6th axis (Joysticks)
6th axis (Joysticks)
6th axis (Joysticks)
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
Mouse Left Click
Name
Mouse Left Click
Positive Button
mouse 0
Gravity
1000
Dead
0.001
Sensitivity
1000
Invert
-
Type
Key or Mouse Button
Axis
X axis
Joy Num
Get Motion from all Joysticks
Tag No
Tag Value
Tag 0
box
Tag 1
sphere
Tag 2
moving
Tag 3
enemy
Tag 4
friend
Tag 5
device
Tag 6
inventory
Tag 7
vehicle
Layer No
Layer Value
#1
gravityObjects
#2
Armor Surface
#3
turrets
#4
player
#5
radar
#6
Scanner
#7
vehicle
#8
inventory
#9
npc
#10
weapons
#11
device
#12
Terrain
#13
Point&Click
#14
Dynamic Split Screen
#15
Transparent Mesh
Field
Vertical Y1
Vertical Y2
Vertical Y3
Vertical Y4
Name
Vertical Y1
Vertical Y2
Vertical Y3
Vertical Y4
Gravity
0
0
0
0
Dead
0.19
0.19
0.19
0.19
Sensitivity
1
1
1
1
Invert
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
Y axis
Y axis
Y axis
Y axis
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
Mouse Y1
Mouse Y2
Mouse Y3
Mouse Y4
Name
Mouse Y1
Mouse Y2
Mouse Y3
Mouse Y4
Gravity
0
0
0
0
Dead
0.19
0.19
0.19
0.19
Sensitivity
1
1
1
1
Invert
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
5th axis (Joysticks)
5th axis (Joysticks)
5th axis (Joysticks)
5th axis (Joysticks)
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4
Field
DPad Y1
DPad Y2
DPad Y3
DPad Y4
Name
DPad Y1
DPad Y2
DPad Y3
DPad Y4
Gravity
0
0
0
0
Dead
0.2
0.2
0.2
0.2
Sensitivity
1
1
1
1
Invert
Type
Joystick Axis
Joystick Axis
Joystick Axis
Joystick Axis
Axis
7th axis (Joysticks)
7th axis (Joysticks)
7th axis (Joysticks)
7th axis (Joysticks)
Joy Num
Joystick 1
Joystick 2
Joystick 3
Joystick 4