Update utility.tscript

Fixed so remappable actions bound to the control key show the proper bitmap in the menu.
This commit is contained in:
Sir-Skurpsalot 2025-12-09 18:25:18 -07:00 committed by GitHub
parent af73e79424
commit b55be19d7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -116,6 +116,9 @@ function getButtonBitmap(%device, %button)
if(%button $= "lshift" || %button $= "rshift") if(%button $= "lshift" || %button $= "rshift")
%button = "shift"; %button = "shift";
if(%button $= "lcontrol" || %button $= "rcontrol")
%button = "ctrl";
%assetId = "UI:Keyboard_Black_" @ %button @ "_image"; %assetId = "UI:Keyboard_Black_" @ %button @ "_image";
} }
else if(%device !$= "") else if(%device !$= "")