How to use accelerometer data on Microsoft Surface Pro?

I noticed ofxAccelerometerHandler supports iOS and Android, but I was wondering if anyone had experience using accelerometer data on a Windows device.

Found some documentation of the Windows API:

Example code:
https://code.msdn.microsoft.com/windowsapps/accelerometer-sensor-sample-22982671

Has anyone seen an addon for integrating this into OF?