reduce Input Name
Reduces a full key name (e.g., "key.keyboard.a") to its minimal form (e.g., "a"). This is useful for simplifying key names for easier recognition.
Return
The reduced key name as a string.
Parameters
translation Key
The full key name as a string.