Accessing Android accelerometer from PC

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Vekepihvi

I want to make a project using my PC (Windows and Linux available) and it’s monitor for the graphics, and my Android phone for accelerometer input (x, y and z tilt axes, sadly no position tracking). How do I access my phone’s accelerometer data from my PC in Godot using wi-fi or USB (no Bluetooth for me)?

The solution doesn’t have to be anything that good, just something I can set up without rooting my phone (It’s not for commercial purposes, just for my own entertainment.)

:bust_in_silhouette: Reply From: Vekepihvi

Nevermind, I forgot about UDP