<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I want to read USB data from a Gamepad in Erlang to play a game.<br><br></div>Programs like JoyToKey and Enjoyable convert Gamepad inputs to keyboard input, but they only send 1 character so using io:read would require an additional "return" press to send the input.<br><br></div>Where do I start looking to learn how to read gamepads? I've heard that Erlang ports can be used to interact with the world outside the Erlang shell but I have no idea where to look. I found erlang-serial on Github but had trouble installing it <a href="https://github.com/tonyg/erlang-serial/issues/14">https://github.com/tonyg/erlang-serial/issues/14</a><br><br></div>Thank you!<br></div>