[erlang-questions] Read only 1 character from STDin without requiring Return
Mon Mar 13 14:56:11 CET 2017
Are you sure the gamepad is a serial device? I would expect it to be a HID
that goes through the OS's game controller driver plumbing. Maybe
tinkering with libSDL in C would be a good place to experiment, and then
that could be make into a port program for use with Erlang.
On Sun, Mar 12, 2017 at 1:19 PM qp <quantumpotato@REDACTED> wrote:
> I'm looking at the `io` module http://erlang.org/doc/man/io.html#read-1
> and finding that reading input uses a Prompt and waits for the user to
> press Enter (Return?).
> How do read 1 character at a time without requiring the enter press?
> I tried
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions