Skip to main content

InputActionWidget

I created a class USSInputActionWidget that inherits from UCommonActionWidget to automatically display the keyboard key's name with a background image if CommonInput doesn’t find the keyboard key in your CommonInputSettings.

Why

For developers who don’t want to manually set the images for all the keys on a keyboard, regardless of its language, in CommonInputSettings. If the developers just want to display the keyboard key with a background to save time and ensure that the key will be shown no matter the keyboard layout.

Usage

An example of usage: you’ll notice that you can set a background image when a keyboard key isn’t found and customize the Font.

Screenshot

If you want to preview what it will look like with a keyboard key, you can modify the DesignerTimeKey preview key.

Screenshot