78 {
79 array<string> buttonIcons = new array<string>();
80
81 for (int i = 0; i < pInput.AlternativeCount(); i++)
82 {
83 pInput.SelectAlternative(i);
84 bool done = false;
85 for (int bk = 0; bk < pInput.BindKeyCount(); bk++)
86 {
87 if (pInput.CheckBindDevice(0, pInputDeviceType))
88 {
89 buttonIcons.Insert(
GetUApi().GetButtonIcon(pInput.Binding(bk)));
90
91 if (bk == pInput.BindKeyCount() - 1)
92 {
93 done = true;
94 }
95 }
96 }
97
98 if (done)
99 {
100 buttonIcons.Invert();
101 return buttonIcons;
102 }
103 }
104
105 return buttonIcons;
106 }