Use an old android as gyroscopic controller

Hi there!!

I’m planning on do a PING PONG VR game and was thinking about using an old android (everyone has one at home), as the player’s racket, using the phone sensors to move the racket on the space and tilt it depending on the player movement.

Has Unreal Engine any plugin or way to achieve that? I’ve looked for it but nothing found, besides a plugin to use in the Editor with your phone as controller (that’s not what I need).

Big thanks for reading!