Hello L4 hackers
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 ?
The idea of this question because i want to make a simple calculator to practice study the stdio of L4Re
I am really sorry for the basic question And i am appreciating any helps and answer
Thanks L4 Hackers
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
l4-hackers@os.inf.tu-dresden.de