Bk2ControllerAdapter - small cleanups
This commit is contained in:
parent
70bb840f20
commit
4a522263d9
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue