Hello,
Here is a link to the documentation for the new Input System XR specific features: Unity - Manual: Unity XR Input
Looking at that doc and the code inside UnityEngine.XR.InputDevices
,
GetDevicesWithCharacteristics(InputDeviceCharacteristics desiredCharacteristics, List<InputDevice> inputDevices)
seems to be the recommended way of accessing devices, along with GetDevicesAtXRNode(XRNode node, List<InputDevice> inputDevices)
InputDeviceCharacteristics.Right will filter out the InputDevice is associated with the right side of the user.
Check out this thread for some background on XR Inputs Any example of the new 2019.1 XR input system?