- Moderator
- #1
Here are two suggestions for InputHandler.cs!
1
line 318
if (map.Sound != string.Empty)
replace with:
if (map.Sound != string.Empty && !g_Player.Playing)
it would make it more consistent with main key presses, mapped from keymap.xml (where sounds are not played if player is playing)
2
"KEY" action does not work because SendKeys expectslowercase keys only
line 338
SendKeys.SendWait(map.CmdProperty);
replace with:
SendKeys.SendWait(map.CmdProperty.ToLower());
1
line 318
if (map.Sound != string.Empty)
replace with:
if (map.Sound != string.Empty && !g_Player.Playing)
it would make it more consistent with main key presses, mapped from keymap.xml (where sounds are not played if player is playing)
2
"KEY" action does not work because SendKeys expectslowercase keys only
line 338
SendKeys.SendWait(map.CmdProperty);
replace with:
SendKeys.SendWait(map.CmdProperty.ToLower());
Croatia