Bk2ControllerAdapter - small cleanups

This commit is contained in:
adelikat 2019-12-07 11:02:17 -06:00
parent 70bb840f20
commit 4a522263d9
1 changed files with 2 additions and 6 deletions

View File

@ -36,14 +36,10 @@ namespace BizHawk.Client.Common
}
}
// TODO: get rid of this, add a SetBool() method or something for the set access, replace get wtih IsPressed
// TODO: get rid of this, add a SetBool() method or something for the set access, replace get with IsPressed
public bool this[string button]
{
get
{
return _myBoolButtons[button];
}
get => _myBoolButtons[button];
set
{
if (_myBoolButtons.ContainsKey(button))