Skip to content

Input Devices

Use the Addons Browser to find the device you want to access: Keyboard, Gamepad, Mouse...

Tip

The InputSystem use the concept of the current device when accessing a device. For example, Gamepad.current. PlayMaker defines system variables to quickly access the current device in actions.

Enable/Disable Devices

These actions enable or disable devices in Unity's new Input System at runtime.

Use them to temporarily block input sources (for menus, cutscenes, onboarding) and re-enable them later.

Gamepads

Action Description Parameters
Enable All Gamepads Enables all connected gamepads. None
Disable All Gamepads Disables all connected gamepads. None
Enable Gamepad Enables one gamepad by index (0 is the first gamepad). Gamepad Index
Disable Gamepad Disables one gamepad by index (0 is the first gamepad). Gamepad Index

Keyboard, Mouse, Touchscreen

Action Description Parameters
Enable Keyboard Enables the current keyboard device. None
Disable Keyboard Disables the current keyboard device. None
Enable Mouse Enables the current mouse device. None
Disable Mouse Disables the current mouse device. None
Enable Touchscreen Enables the current touchscreen device. None
Disable Touchscreen Disables the current touchscreen device. None

Notes

  • If a device is not present (for example no touchscreen on desktop), the action safely does nothing.
  • For indexed gamepad actions, index is clamped to the available gamepad range.