the latest code is change to
EventKeyboard event(g_keyCodeMap[key], GLFW_PRESS == action || GLFW_REPEAT == action);
I think this make more sense, what's your opinion?