Keyboard and Gamepad Sprites Vol1 also contains the graphics of this asset.
UI Toolkit support: use the free Input Icons - UI Toolkit Extension
The easiest way to display dynamic button prompts in your games!
Bindings of Input Action Assets (new Input System) can be displayed as sprites in Sprite Renderers,UI Images and TextMeshPro texts, or as a special SDF font with characters for all keys/buttons in TMPro texts.
Keyboard (QWERTY, QWERTZ and AZERTY with fallback to QWERTY) and Controllers (XBox, PS3, PS4, PS5, NSwitchPro) are supported and displayed sprites can automatically update when the user switches devices.
Rebinding prefabs provide players with the option to rebind their keys/buttons.
Features:
Setup: The setup is short and can be done with a few clicks through the custom setup window in Tools -> Input Icons -> Input Icons Setup.
Usage
Rebinding: The included rebinding prefabs allow players to rebind their keys/buttons. Rebound actions can be automatically saved between sessions. The prefabs are customizable and support rebinding for either keys/mouse, gamepad, or the currently used device.
Customization: The displayed sprites are stored in Scriptable Objects, allowing for easy customization by changing the data and creating a new Sprite Asset with the click of a button.
Additionally the manager Scriptable Object provides many options for customization like preferred start device, gamepad priority and much more.
Input Icons supports keyboards (QWERTY, QWERTZ, AZERTY, fallback to QWERTY) and gamepads (XBox, PS3, PS4, PS5, Nintendo Pro, fallback to XBox by default).
1200+ PNGs are included for keys, mouse, and gamepad buttons, with special characters falling back to the QWERTY layout.
Documentation: A 24+ pages guide, explaining the setup process and the usage of the tool in detail is available in the main folder of the asset.
Displayed icons in text use the TMP sprite tag and are therefore compatible with other text manipulating assets like Text Animator