I've been experimenting a bit with OpenVG on the Raspberry Pi, and it's been really interesting so far. One problem that I encountered fairly early on is the issue of reading keyboard/mouse input from the user. After looking into solutions such as using ncurses or (somehow) directly reading from the keyboard, it seemed like my best option was to get input information from X. The only problem with that is that now I have to get OpenVG to play nicely with X windows instead of just writing itself on top of whatever's going on.
Is there a simple or built-in way to draw into a window, or am I going to have to have OpenVG adjust it's drawing space to wherever the window is manually and somehow adjust to overlapping windows?