mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Merge pull request #283 from Azaezel/alpha40_mouseBindIcons
mouse display for keybinds
This commit is contained in:
commit
64c9667bad
4 changed files with 3 additions and 0 deletions
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
|
|
@ -114,6 +114,9 @@ function buildFullMapString( %index, %actionMap, %deviceType )
|
||||||
%device = getField( %temp, %i + 0 );
|
%device = getField( %temp, %i + 0 );
|
||||||
%object = getField( %temp, %i + 1 );
|
%object = getField( %temp, %i + 1 );
|
||||||
|
|
||||||
|
if (startsWith(%device,"mouse"))
|
||||||
|
%deviceType = "mouse";
|
||||||
|
|
||||||
if(%deviceType !$= "" && !startsWith(%device, %deviceType))
|
if(%deviceType !$= "" && !startsWith(%device, %deviceType))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue