Prevent trying to use DirectInput on Linux (resolves #2607)
This commit is contained in:
parent
2b72eabdf9
commit
9d1eaa6475
|
@ -123,6 +123,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
Adapter = config.HostInputMethod switch
|
||||
{
|
||||
EHostInputMethod.OpenTK => new OpenTKInputAdapter(),
|
||||
_ when OSTailoredCode.IsUnixHost => new OpenTKInputAdapter(),
|
||||
EHostInputMethod.DirectInput => new DirectInputAdapter(),
|
||||
_ => throw new Exception()
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue