Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
1/6
Keyboard and Mouse Simulation for Windows is a script component that allows easy creation of authentic keyboard or mouse input, such as UI testing or perhaps creating in-game controls for the cursor.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.20f1
Compatible
Compatible
Compatible
Additional compatibility information

The demo is created with the built-in RP and uses TextMeshPro, but the tool itself works well regardless of RP.

Description

Windows operating system

The tool supports specifically Windows operating systems as it utilizes native Windows libraries to simulate keyboard and mouse input exactly like a real device.


Features

Any input that you can produce on a keyboard or a mouse can be created using this tool. You don't even need to have a physical input device connected at all, and there are no limits to how many keys/buttons can be pressed at once, unlike with real hardware. The mouse movement also takes multiple displays into account. The tool can be used simply in the editor or by using C#.

The tool also allows you to customize certain options, such as the following:

  • Pausing the input while the application doesn't have focus or the cursor is not on top of the window.
  • Remapping any cursor movement so that the application window is considered to be the whole screen.
  • Repeating the inputs a number of times.
  • Listing multiple different inputs to be performed in a row.
  • Customizing specific inputs. For example applying keyboard inputs at the same time or specifying cursor movement as an absolute position on the display.
  • Distribution of the inputs over time with natural variance.

Variance

It is possible to customize the distribution of the given inputs. This allows for realistic, less deterministic input.

Distribution can be either normal or linear, with customizable average lengths and standard deviations for the input groups and even specific keystrokes.


Support

If you have any questions or suggestions for additional functionality for Keyboard and Mouse Simulation for Windows, do not hesitate to contact us via email!

If you find this tool helpful, please let us know by leaving a review. All feedback is appreciated.

Keyboard and Mouse Simulation for Windows

(not enough ratings)
1 users have favourite this asset
(1)
$7
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
327.7 KB
Latest version
1.0
Latest release date
Nov 22, 2023
Original Unity version
2021.3.20
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
$7