mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 12:55:36 +00:00
[Input] Initialize JoystickDevice.Details in constructor
This commit is contained in:
parent
fb57a9062d
commit
a8fb977017
|
@ -156,12 +156,13 @@ namespace OpenTK.Input
|
|||
|
||||
// Provides platform-specific information about the relevant JoystickDevice.
|
||||
internal sealed class JoystickDevice<TDetail> : JoystickDevice
|
||||
where TDetail : new()
|
||||
{
|
||||
internal JoystickDevice(int id, int axes, int buttons)
|
||||
: base(id, axes, buttons)
|
||||
{ }
|
||||
|
||||
internal TDetail Details;
|
||||
internal TDetail Details = new TDetail();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue