---
title: UnityEngine.InputLegacyModule
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/modules/unityengine-inputlegacymodule
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-inputlegacymodule.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:35:22.894Z
locale: en-us
---

# UnityEngine.InputLegacyModule

> The InputLegacy module implements the Input class used to read player Input.

## Definition

* **Type:** Module

## Classes

| Class                                                                             | Description                                                                 |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [AndroidInput](/engine/7000.0/script-reference/unityengine/androidinput.md)       | Provides support for off-screen touch input, such as a touchpad.            |
| [Compass](/engine/7000.0/script-reference/unityengine/compass.md)                 | Interface into compass functionality.                                       |
| [Gyroscope](/engine/7000.0/script-reference/unityengine/gyroscope.md)             | Interface into the Gyroscope.                                               |
| [Input](/engine/7000.0/script-reference/unityengine/input.md)                     | Interface into the Legacy Input system.                                     |
| [LocationService](/engine/7000.0/script-reference/unityengine/locationservice.md) | Provides methods that allow an application to access the device's location. |

## Structs

| Struct                                                                                | Description                                                      |
| ------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [AccelerationEvent](/engine/7000.0/script-reference/unityengine/accelerationevent.md) | Structure describing acceleration status of the device.          |
| [LocationInfo](/engine/7000.0/script-reference/unityengine/locationinfo.md)           | Structure describing device location.                            |
| [PenData](/engine/7000.0/script-reference/unityengine/pendata.md)                     | Structure describing the status of a pen event.                  |
| [Touch](/engine/7000.0/script-reference/unityengine/touch.md)                         | Structure describing the status of a finger touching the screen. |

## Enums

| Enum                                                                                          | Description                                                                                                                                                                                                                         |
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DeviceOrientation](/engine/7000.0/script-reference/unityengine/deviceorientation.md)         | Describes physical orientation of the device as determined by the OS.                                                                                                                                                               |
| [IMECompositionMode](/engine/7000.0/script-reference/unityengine/imecompositionmode.md)       | Controls IME input.                                                                                                                                                                                                                 |
| [LocationServiceStatus](/engine/7000.0/script-reference/unityengine/locationservicestatus.md) | Describes the location service status for a device.                                                                                                                                                                                 |
| [PenEventType](/engine/7000.0/script-reference/unityengine/peneventtype.md)                   | Indicates the type of action of a pen event.                                                                                                                                                                                        |
| [PenStatus](/engine/7000.0/script-reference/unityengine/penstatus.md)                         | Options for specifying the state of the pen. For example, whether the pen is in contact with the screen or tablet, whether the pen is inverted, and whether buttons are pressed. You can combine states using bitwise OR operators. |
| [TouchPhase](/engine/7000.0/script-reference/unityengine/touchphase.md)                       | Describes the phase of a finger touch.                                                                                                                                                                                              |
| [TouchType](/engine/7000.0/script-reference/unityengine/touchtype.md)                         | Describes whether a touch is direct, indirect (or remote), or from a stylus.                                                                                                                                                        |
