Hey there,
I’d like to know if I am doing something wrong here, or if this is a bug.
I’m trying to recognize command + period in my KeyDown method:
void TestApp::keyDown( KeyEvent event ){
cout << "period_01: " << (event.getCode() == KeyEvent::KEY_PERIOD) << endl;
cout << "period_02: " << (event.getChar() == KeyEvent::KEY_PERIOD) << endl;
cout << "period_03: " << (event.getChar() == '.') << endl;
cout << "cmd: " << (event.isMetaDown()) << endl;
cout << getElapsedSeconds() << endl << endl;
}
When i hold the cmd-key the period-key is not recognized as a new keydown event. Every other key is, though…