Controller Config - some tweaks, but input widgets aren't working, dont' know why
This commit is contained in:
parent
388f62f140
commit
6e7a906cf5
|
@ -182,7 +182,7 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
}
|
||||
|
||||
Queue<InputEvent> InputEvents = new Queue<InputEvent>();
|
||||
Queue<InputEvent> InputEvents = new Queue<InputEvent>();
|
||||
public InputEvent DequeueEvent()
|
||||
{
|
||||
lock (this)
|
||||
|
|
|
@ -38,6 +38,18 @@ namespace BizHawk.MultiClient
|
|||
SetAutoTab(true);
|
||||
}
|
||||
|
||||
protected override void OnShown(EventArgs e)
|
||||
{
|
||||
Input.Instance.EnableIgnoreModifiers = true;
|
||||
base.OnShown(e);
|
||||
}
|
||||
|
||||
protected override void OnClosed(EventArgs e)
|
||||
{
|
||||
base.OnClosed(e);
|
||||
Input.Instance.EnableIgnoreModifiers = false;
|
||||
}
|
||||
|
||||
private void SetAutoTab(bool setting)
|
||||
{
|
||||
foreach (Control control1 in tabControl1.TabPages)
|
||||
|
|
|
@ -116,8 +116,11 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
Input.Instance.Update();
|
||||
string TempBindingStr = Input.Instance.GetNextPressedButtonOrNull();
|
||||
if (wasPressed != "" && TempBindingStr == wasPressed) return;
|
||||
if (TempBindingStr != null)
|
||||
if (wasPressed != "" && TempBindingStr == wasPressed)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else if (TempBindingStr != null)
|
||||
{
|
||||
if (TempBindingStr == "Escape")
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue