Skip to main content
Unity logo
Cancel
Privacy Preferences
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

1/1
This Game Object script will allow you to move the Windows mouse cursor by moving the analog sticks on your joystick.

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
2022.3.33f1
Compatible
Compatible
Compatible

Additional compatibility information

WINDOWS ONLY!

Configured for Input Manager, but can be used with Input System with minor tweaks. Works with all pipelines as it does not touch the rendering system at all. However, the included demo scene is configured for URP.



Description

Add this script to your root UI object (be it the main menu, or an in-game menu) and any UI instantly has joystick support sufficient for passing the Steam Build review; and as a bonus it's actually pretty pleasant to use; you'll quickly find yourself no longer reaching for the mouse to operate your menus. It would be suitable for a 2D or 3D platformer or even a sandbox game like Minecraft; but if your game is intended to be used almost entirely by mouse (eg Starcraft) even a very good mouse emulator like this will get old.

Technical details

Windows only; the code moves the actual Windows Mouse Cursor, and depends on the Windows API to do so. Steam Deck implements the appropriate APIs, and is supported too, but pure Linux and macos do not.


For most use cases the script is drag and drop; add it to your UI's canvas game object and change 3 properties of your Event Manager's Standalone Input Module, and you have full mouse control via your joystick. No source code modification required. 


For special cases the documentation explains the additional configuration steps required complete with copious screen shots. The source code is fully documented if you want to tweak how it works, acceleration curves, etc. 

Joystick Mouse Emulator (for UIs)

(not enough ratings)
3 users have favourite this asset
(3)
$4.99
Seat
1
Updated price and taxes/VAT calculated at checkout
21 views in the past week

Refund policy

This asset is covered by the Unity Refund Policy. Please see the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex

License type

File size

169.7 KB

Latest version

1.2

Latest release date

Jun 18, 2025

Original Unity version

2022.3.33
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
Copyright © 2025 Unity Technologies
All prices are exclusive of tax