Merge pull request #283 from Azaezel/alpha40_mouseBindIcons

mouse display for keybinds
This commit is contained in:
Areloch 2021-01-10 22:40:22 -06:00 committed by GitHub
commit 64c9667bad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 0 deletions

View file

@ -114,6 +114,9 @@ function buildFullMapString( %index, %actionMap, %deviceType )
%device = getField( %temp, %i + 0 );
%object = getField( %temp, %i + 1 );
if (startsWith(%device,"mouse"))
%deviceType = "mouse";
if(%deviceType !$= "" && !startsWith(%device, %deviceType))
continue;