<div dir="ltr">This looks promising, thank you<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 12, 2017 at 4:36 PM, Tony Rogvall <span dir="ltr"><<a href="mailto:tony@rogvall.se" target="_blank">tony@rogvall.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://github.com/tonyrog/uart" rel="noreferrer" target="_blank">https://github.com/tonyrog/<wbr>uart</a><br>
<br>
/Tony<br>
<div><div class="h5"><br>
> On 12 mar 2017, at 17:57, qp <<a href="mailto:quantumpotato@gmail.com">quantumpotato@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I want to read USB data from a Gamepad in Erlang to play a game.<br>
><br>
> 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>
> 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" rel="noreferrer" target="_blank">https://github.com/tonyg/<wbr>erlang-serial/issues/14</a><br>
><br>
> Thank you!<br>
</div></div>> ______________________________<wbr>_________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
<br>
</blockquote></div><br></div>