You can have it act as a gamepad or maybe a library itself for things like
client.xinput_controller.Get_State()
and such?
I am aware that this is a duplicate post in some ways, but I don't think I've seen somebody suggest xinput to be incorporated in BYOND.
Anywho, I'll leave it to the mods.