How to get key input in OpenVG
Posted: Fri Oct 26, 2012 8:14 pm
I want jus to make a simple test program to write text in a circle.
But i can't find any simple way to read the keys pressed while not being in the terminal.
Scanf and getchar won't do the trick cause they bring me back to the terminal(i want to stay in my vg program).
So how can i draw the text am inputing on my keyboard?
But i can't find any simple way to read the keys pressed while not being in the terminal.
Scanf and getchar won't do the trick cause they bring me back to the terminal(i want to stay in my vg program).
So how can i draw the text am inputing on my keyboard?