> For the complete documentation index, see [llms.txt](https://fantacode.gitbook.io/rope-swinging-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/rope-swinging-system/input-manager.md).

# Input Manager

### Old Input System <a href="#old-input-system" id="old-input-system"></a>

<div align="left"><figure><img src="https://2446894348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw2YWTGRpKyKOf1oieBtm%2Fuploads%2FrEg6vSak7u599CPmmY6f%2FScreenshot%202024-11-30%20103740.png?alt=media&amp;token=60becd6a-7443-445c-899b-bda8b92647d2" alt=""><figcaption></figcaption></figure></div>

**Button** is Unity's default input button. You can create and edit those buttons from Unity's **Input Manager (**&#x45;dit> Project Setting&#x73;**)**

## 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.\
![](https://2446894348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw2YWTGRpKyKOf1oieBtm%2Fuploads%2Fs4PBMRylOKoBOJatJ1Xp%2FScreenshot%202025-07-29%20201029.png?alt=media\&token=25f45676-daf8-4e60-a3e3-f07cf192af85)

To customize rope swinging 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="https://2446894348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw2YWTGRpKyKOf1oieBtm%2Fuploads%2FZ9pfPHKU8tRIzRueaV5Z%2Fimage.png?alt=media&amp;token=f293a687-1e8d-446b-a46c-3c05bbed5463" alt=""><figcaption></figcaption></figure></div>

1. **Select the Action Map**\
   In the **Action Maps** panel (left), select the `Swing` action map.
2. **Customize Input Bindings**\
   After selecting an action (e.g., `Hook`):

   * 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.

### Mobile Controller <a href="#mobile-controller" id="mobile-controller"></a>

To use the mobile controller, first enable new input system support by going to **Tools** > **Rope Swinging System** > **Welcome** **window**. Ensure that the input system package is installed before enabling this option.

<div align="left"><figure><img src="https://2446894348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw2YWTGRpKyKOf1oieBtm%2Fuploads%2FLB5cn7jTfdOLD4G8dip6%2FScreenshot%202024-11-30%20104040.png?alt=media&amp;token=2bc08493-9b69-47c1-a8cf-9647f47e1b0e" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://2446894348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw2YWTGRpKyKOf1oieBtm%2Fuploads%2FrGZ4QfpNDprQkkKPxANF%2FScreenshot%202024-11-30%20104201.png?alt=media&amp;token=c2127b00-9fae-4f5b-9bf3-bd1dde152d63" alt=""><figcaption></figcaption></figure></div>

Next, enable the **Swinging Mobile Controller** game object.

<div align="left"><figure><img src="https://2446894348-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fw2YWTGRpKyKOf1oieBtm%2Fuploads%2FNBRP92YjeJ14vKWqWGin%2FScreenshot%202024-11-30%20104632.png?alt=media&amp;token=637b92e7-24c9-4437-b298-739df41336e3" alt=""><figcaption></figcaption></figure></div>
