HI dusty,
Sorry for the long delay in getting back to this. I did try running the program with --debug - it does show key state changes in the output then. However, the above continues to return false. I see that XK_a corresponds to 97 which does show up with --debug. Is there something about exactly how/where I put this in the loop? Does it have to be before/after rendering? I also notice that if I assign
display = (glDisplay*)outputStream;
outside my loop, inside my loop, display does return to NULL. (This is separate from my issue, even if I do this assignment right where I am checking, it still does not work.)
I can try the event handler. Do you have any example code that shows how to use it? I am only interested in a few keys, so either event handler or checking those specific keys would work for me if I can get either to work.