---
title: inputEmulation
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/playersettings/android/inputemulation
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/playersettings/android/inputemulation.md
last_updated: 2026-11-20
generated_at: 2026-11-23T18:15:24.029Z
locale: en-us
---

# inputEmulation

> Specifies whether the target device, Unity, or neither converts mouse and touchpad input into touch input in the Android application.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/7000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static AndroidInputEmulationMode inputEmulation { get; set; }
```

### Remarks

Some Android devices, such as ChromeOS devices, Googlebook devices, and Google Play Games on PC, convert mouse and touchpad input into touchscreen input for applications that don't declare the `android.hardware.type.pc` feature in the Android App Manifest. Googlebook devices convert the input only for applications in the game category, as set in [PlayerSettings.Android.appCategory](/engine/7000.0/script-reference/unityeditor/playersettings/android/appcategory.md).

Use this property to let the device convert the input, to make Unity convert the input into touch input on every device, or to receive mouse and touchpad input unchanged. The default value is [AndroidInputEmulationMode.Platform](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode/platform.md).

[AndroidInputEmulationMode.Platform](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode/platform.md) doesn't change the manifest. [AndroidInputEmulationMode.Engine](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode/engine.md) and [AndroidInputEmulationMode.None](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode/none.md) add `android.hardware.type.pc` to the manifest. Unity declares this feature as not required with `android:required="false"`, so Google Play still lists the application on devices without this feature.

To use [AndroidInputEmulationMode.Engine](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode/engine.md), set **Active Input Handling** to **Input System Package (New)**. If **Active Input Handling** is **Input Manager (Old)** or **Both**, Unity logs a warning when you build and doesn't convert mouse and touchpad input into touch input.

Additional Resources: [AndroidInputEmulationMode](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode.md)

The following code example demonstrates [AndroidInputEmulationMode.Engine](/engine/7000.0/script-reference/unityeditor/androidinputemulationmode/engine.md), which lets Unity convert mouse and touchpad input into touchscreen input on every Android device.

### Examples

```csharp
using UnityEngine;
using UnityEditor;

public class InputEmulationSample : MonoBehaviour
{
    [MenuItem("Build/Use Unity Input Emulation")]
    public static void UseUnityInputEmulation()
    {
        // Unity converts mouse and touchpad input into touch input on every Android device.
        PlayerSettings.Android.inputEmulation = AndroidInputEmulationMode.Engine;
    }
}
```
