> For the complete documentation index, see [llms.txt](https://fantacode.gitbook.io/parkour-and-climbing-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fantacode.gitbook.io/parkour-and-climbing-system/input-manager.md).

# Input Manager

## Old Input System

The **InputManager** script on the player object allows you to modify inputs.

<div align="left"><figure><img src="/files/ubrKix03B5urCrRKi5Bv" alt=""><figcaption></figcaption></figure></div>

**Locmotion**

| Key        | Use                                          |
| ---------- | -------------------------------------------- |
| Jump Key   | Jumping                                      |
| Drop key   | This key is used to jump down from the ledge |
| Move Type  | Switches walking and running modes           |
| Sprint Key | You can sprint by holding this key           |

**Parkour**

| Key                | Use                                                                 |
| ------------------ | ------------------------------------------------------------------- |
| Jump Key           | Jumping/Climbing                                                    |
| Drop key           | This key is used to drop from the hang and jump down from the ledge |
| Jump From Hang Key | It's used to jump from hang                                         |

Use the **arrow keys** or **W, S, A**, and **D** to move horizontally and vertically.

**Buttons** are Unity's default input buttons. You can create and edit those buttons from Unity's **Input Manager (**<mark style="color:green;">Edit> Project Settings</mark>**)**

<div align="left"><figure><img src="/files/Z9wfF5t6MNV9S1JNZ0VD" alt=""><figcaption></figcaption></figure></div>

## New Input System

To use the New Input System:

1. Ensure the **Input System** package is installed via the Package Manager.
2. Open **Tools > FS System**, then go to the **Dependencies** tab.
3. Enable the **New Input System** option.

This will configure the FS System to work with Unity’s New Input System.\
![](/files/LURqX3n8DVlG1GeiXTzx)

To customize parkour related input actions using the New Input System:

1. **Open the Input Action Asset**\
   Navigate to:\
   `ThirdPersonController/InputAction/FSSystemsInputAction` and open the asset.

<div align="left"><figure><img src="/files/vdRQqoU9LD6K2Bo2xmmk" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/MMuhXIjbVv1Db4IxrZtn" alt=""><figcaption></figcaption></figure></div>

1. **Select the Action Map**\
   In the **Action Maps** panel (left), select the `Parkour/Locomotion` action map.
2. **Customize Input Bindings**\
   After selecting an action (e.g., `Jump` or `MoveInput`):

   * You'll see associated bindings like **Left Button \[Mouse]** or **Right Trigger \[Gamepad]**.
   * Click a binding to modify it.

   ➕ You can add multiple bindings for different devices (e.g., mouse, gamepad) by clicking the `+` next to the action.

|                                   | Keyboard input          | Controller input |
| --------------------------------- | ----------------------- | ---------------- |
| Directional input & move          | W, A, S, D & Arrow Keys | Left Stick       |
| Sprint key                        | LeftShift               | RT               |
| Move type                         | Tab                     | LB               |
| Jump & Climb                      | Space                   | A                |
| Jump/Climb to specified direction | Space + Direction       | A + Direction    |
| Jump from hang                    | Q + Direction           | RT + Direction   |
| Drop                              | E                       | B                |
| Jump down                         | E + Direction           | B + Direction    |
| Camera rotation                   | Mouse                   | Right Stick      |

## Mobile Controller

If you want to use mobile controller, enable new input system support from the Tools/Climbing System/Welcome window. But keep in mind that the input system package must be installed before enabling this option

<figure><img src="/files/kOHQUdP7Oq3vilg8IXKI" alt=""><figcaption></figcaption></figure>

<div align="left"><figure><img src="/files/99cvverBn9A7Z0IL8i3i" alt=""><figcaption></figcaption></figure></div>

Enable the **Parkour Mobile Controller** game object.

<div align="left"><figure><img src="/files/TKzGHnMbnYZovDCau1XA" alt=""><figcaption></figcaption></figure></div>
