> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.client/ks.reactor.client.ksiinputmanager.md).

# Interface ksIInputManager

Namespace: [KS.Reactor.Client](/reactor/api-reference/ks.reactor.client.md)\
Assembly: KSUnity.dll

Input manager interface. Rooms query the input manager for input state on input frames. Button state is queried every frame so button state changes aren't missed. Inputs registered with the [ksInputRegistrar](/reactor/api-reference/ks.reactor/ks.reactor.ksinputregistrar.md) by [ksPlayerController](/reactor/api-reference/ks.reactor/ks.reactor.ksplayercontroller.md)s determine which inputs are queried and sent to the server.

```csharp
public interface ksIInputManager
```

## Methods

### GetAxis(uint) <a href="#ks_reactor_client_ksiinputmanager_getaxis_system_uint32" id="ks_reactor_client_ksiinputmanager_getaxis_system_uint32"></a>

Gets an axis value.

```csharp
float GetAxis(uint axisId)
```

#### Parameters

`axisId` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

Id of the axis value to get.

#### Returns

[float](https://learn.microsoft.com/dotnet/api/system.single)

Axis value

### GetButton(uint) <a href="#ks_reactor_client_ksiinputmanager_getbutton_system_uint32" id="ks_reactor_client_ksiinputmanager_getbutton_system_uint32"></a>

Checks if a button is up or down.

```csharp
bool GetButton(uint buttonId)
```

#### Parameters

`buttonId` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

Id of button to check.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

True if the button is down.

### GetValue(uint) <a href="#ks_reactor_client_ksiinputmanager_getvalue_system_uint32" id="ks_reactor_client_ksiinputmanager_getvalue_system_uint32"></a>

Gets a value.

```csharp
ksMultiType GetValue(uint valueId)
```

#### Parameters

`valueId` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

Id of value to get.

#### Returns

[ksMultiType](/reactor/api-reference/ks.reactor/ks.reactor.ksmultitype.md)

Value
