I think it’s more a matter of using the right driver to expose the xyz values…
See the following discussion:
Tagging @jkp