mouse display for keybinds

This commit is contained in:
AzaezelX 2020-08-10 06:33:56 -05:00
parent d1a79ae5eb
commit 1b7f754f23
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;