When I add geventAttachSource(&glistener, gwinKeyboardGetEventSource(ghKeyboard), GLISTEN_KEYTRANSITIONS|GLISTEN_KEYUP); to my app, the GUI comes up as a black screen after completing the calibration screen. Otherwise, if I remove the geventAttachSource line, everything works fine and I have a working virtual keyboard, but cannot get any events on GEVENT_KEYBOARD or GEVENT_GWIN_KEYBOARD.