Emulate device gyroscope?

It’s extremely hard to make a game that uses your phones gyroscope. You have to publish the game and open it on your phone. Is it possible to emulate a device gyroscope?

Nope, it’s still not possible to connect your phone to PC and emulate it since roblox doesn’t support USB Cable to run your game in mobile directly from Studio. (not for keyboard/mouse)

Theoretically, it is possible to make a plugin or an API to do so.

How would you create a plugin to emulate that? I don’t think there is any Roblox APIs that you can use to emulate that. Maybe creating an application that emulates gyro?