RawInputData.Device.Path is sneaky, but it allocates significant memory when executed like we are doing it. To get identifiers every frame we should cache it somehow. I don't know if this way is perfect, but it's an improvement, accepting feedback on this and also about the removal of OnIdentifierReceived.
RawInputData.Device.Path
is sneaky, but it allocates significant memory when executed like we are doing it. To get identifiers every frame we should cache it somehow. I don't know if this way is perfect, but it's an improvement, accepting feedback on this and also about the removal of OnIdentifierReceived.