Keyboard Input in L4Re Pandaboard ARM

Adam Lackorzynski adam at os.inf.tu-dresden.de
Thu Apr 24 23:42:52 CEST 2014


Hi,

On Fri Apr 25, 2014 at 00:50:00 +0700, Erry Pradana Darajati wrote:
> I have a question about accessing standard I/O
> ​Is it possible to access keyboard using L4Re.
> If it's possible, can i access it using USB keyboard or do i need to access
> the std input from serial ?

Possible yes, but using the serial is much easier.

> The idea of this question because i want to make a simple calculator to
> practice study the stdio of L4Re

Use "REQUIRES_LIBS = libc_be_file_stdin" in your Makefile and getchar
etc. should just work.


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the l4-hackers mailing list