private static boolean onHandleKeyEvent(int type, int identifier,
char character, int modifiers) {
// TODO: There is currently no way to use these callbacks in a Java-only
// use of the API. Find one?
return callCallbacks(callbackNames[type], new Object[] {
new KeyEvent(type, identifier, character, modifiers)
});
}