In this tutorial we’ll set up input keys that use both keyboard and gamepad inputs.
Input keys can use other input keys as their input origin – we’ll use this to set up combined inputs that use both keyboard and gamepad inputs, e.g. the accept input key using Space (keyboard) and the South Button (gamepad, e.g. A on XBox).
We’ll set up 7 combined input keys:
- horizontal menu
- vertical menu
- accept
- cancel
- horizontal move
- vertical move
- menu
This tutorial is based on the ORK 4 Unity Quickstart 3D tutorials and uses the gamepad controls (Unity Input System), but can be used in any project.
The quickstart 3D tutorial project already has those input keys set up, using keyboard inputs. We’ll copy the existing ones (to keep the keyboard input) and adjust the original versions – that way we don’t have to adjust any other settings, since we still use the same input keys.
You can download the finished input keys here:
Horizontal Menu #
This input will use the right/left arrow keys (keyboard) and the right/left d-pad buttons (gamepad).
Any of the D-Pad buttons will get the axis value it’s part of, i.e. left/right d-pad buttons each get the horizontal axis, so we simply need to use one of them for the axis.
Open the ORK editor, navigate to Controls > Input Keys and select Horizontal Menu.
Keyboard Input #
Copy the Horizontal Menu input key and change the name of the copy.
- Name
Set to: Keyboard Arrow Horizontal
In case you don’t have a keyboard setup for axis input in your project, here’s how this usually looks like:
Input ID Settings 0 #
- Input Origin
Select: Keyboard Key (Input System) - Positive Button
Select: Right Arrow - Negative Button
Select: Left Arrow - Input Handling
Select: Hold
Combined Key #
Select the original Horizontal Menu input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: Keyboard Arrow Horizontal
Click on Add Input Key.
- Input Key
Select: D-Pad Left
As said above, we can use either D-Pad Left or D-Pad Right, since both have the horizontal D-Pad axis available.
Vertical Menu #
This input will use the up/down arrow keys (keyboard) and the up/downt d-pad buttons (gamepad).
Keyboard Input #
Copy the Vertical Menu input key and change the name of the copy.
- Name
Set to: Keyboard Arrow Vertical
Combined Key #
Select the original Vertical Menu input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: Keyboard Arrow Vertical
Click on Add Input Key.
- Input Key
Select: D-Pad Up
Accept #
This input will use the space key (keyboard) and the button south (gamepad).
Keyboard Input #
Copy the Accept input key and change the name of the copy.
- Name
Set to: Space
Combined Key #
Select the original Accept input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: Space
Click on Add Input Key.
- Input Key
Select: Button South
Cancel #
This input will use the escape key (keyboard) and the button east (gamepad).
Keyboard Input #
Copy the Cancel input key and change the name of the copy.
- Name
Set to: Escape
Combined Key #
Select the original Accept input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: Escape
Click on Add Input Key.
- Input Key
Select: Button East
Horizontal Move #
This input will use the A/D keys (keyboard) and the left stick horizontal (gamepad).
Keyboard Input #
Copy the Horizontal Move input key and change the name of the copy.
- Name
Set to: AD Horizontal
Combined Key #
Select the original Horizontal Move input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: AD Horizontal
Click on Add Input Key.
- Input Key
Select: Left Stick Horizontal
Vertical Move #
This input will use the W/S keys (keyboard) and the left stick vertical (gamepad).
Keyboard Input #
Copy the Vertical Move input key and change the name of the copy.
- Name
Set to: WS Vertical
Combined Key #
Select the original Horizontal Move input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: WS Vertical
Click on Add Input Key.
- Input Key
Select: Left Stick Vertical
Menu #
This input will use the F1 (keyboard) and the start button (gamepad).
Keyboard Input #
Copy the Menu input key and change the name of the copy.
- Name
Set to: F1
Combined Key #
Select the original Menu input key again.
- Input Origin
Select: Input Key
Click on Add Input Key.
- Input Key
Select: F1
Click on Add Input Key.
- Input Key
Select: Start Button
Save Changes #
And that’s it.
Don’t forget to click on Save Settings at the bottom of the editor to save the changes.

