Commonly you can get the data with these usage id and pages from microsoft :
https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-precision-touchpad-required-hid-top-level-collections#windows-precision-touchpad-input-reports
https://learn.microsoft.com/en-us/windows-hardware/design/component-guidelines/touchpad-windows-precision-touchpad-collection
Member Description Page ID Mandatory/Optional
X X coordinate of contact position 0x01 0x30 Mandatory for T Optional for C
Y Y coordinate of contact position 0x01 0x31 Mandatory for T Optional for C
X/Y
The X and Y values report the coordinates of a given contact. A Windows Precision Touchpad should report one point for each contact. The following global items should be specified for both the X and Y usages:
Logical minimum & Logical maximum (ensuring greater than or equal to 300DPI input resolution).
Note The entire logical coordinate range should be reportable across both the X and Y axis.
Physical minimum & Physical maximum (see Device Integration - Size).
Unit & unit exponent.
The coordinate 0,0 (x, y values) indicates the top left corner of the touchpad.
---
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/hidpi/ns-hidpi-_hidp_value_caps
Coordinates are in array if valueCaps[i].UsagePage = 1 and valueCaps[i].NotRange.Usage = 0x30 (x), valueCaps[i].NotRange.Usage = 0x30 (y)
xLogicalMin, yLogicalMin, xLogicalMax, yLogicalMax are in valueCaps[i] array
xLogicalMin = valueCaps[i].LogicalMin;
xLogicalMax = valueCaps[i].LogicalMax;
xPhysicalMin = valueCaps[i].PhysicalMin;
xPhysicalMax = valueCaps[i].PhysicalMax;
Apparently xLogicalMax, xLogicalMax are more in line with the parameters of the Touchpad.
Sample
https://stackoverflow.com/questions/47005610/x-and-y-coordinate-from-precision-touchpad-with-raw-input?noredirect=1