3443023a08
* hid: Rewrite shared memory management This entirely rewrite our ancient (and original) HID shared memory interface to be more usable and accurate. HID update logics were updated to reflect those changes but should work still the same way it previously did. This need heavy testing just in case to avoid possible regressions. * Silence warnings * Address gdkchan's comments * Address Ac_K's comments * Address one missing nit
16 lines
No EOL
344 B
C#
16 lines
No EOL
344 B
C#
using static Ryujinx.HLE.HOS.Services.Hid.Hid;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Hid
|
|
{
|
|
public abstract class BaseDevice
|
|
{
|
|
protected readonly Switch _device;
|
|
public bool Active;
|
|
|
|
public BaseDevice(Switch device, bool active)
|
|
{
|
|
_device = device;
|
|
Active = active;
|
|
}
|
|
}
|
|
} |