Several keys do not invoke the keyDown handler on OSX 10.8 #300

Closed
calebjohnston opened this Issue Feb 23, 2013 · 5 comments

3 participants

@calebjohnston

On both Cinder 0.8.4 and the latest commit on the appRewrite branch (SHA: 9a36ff8), several keys will not invoke the AppBasic::keyDown handler. Specifically, KeyEvent::KEY_LCTRL, KeyEvent::KEY_LALT, KeyEvent::KEY_LMETA, KeyEvent::KEY_RMETA, KeyEvent::KEY_RALT, KeyEvent::KEY_RCTRL will not trigger the handler. And I believe there may be more.

@andrewfb
Collaborator

It's true - these don't pass through the normal Cocoa keydown mechanism and I haven't implemented the code necessary to handle them. If someone wants to the flagsChanged: selector is currently stubbed out in CinderView:
https://github.com/cinder/Cinder/blob/appRewrite/src/cinder/app/CinderView.mm#L283

@calebjohnston

Yeah, I just noticed that. I'll take a crack at it after the Oscars...

@pizthewiz

an aging forum thread has discussed the same issue and @arielm had linked a commit on a fork which seemed to address it.

@andrewfb
Collaborator

Fixed by a9a5473

@andrewfb andrewfb closed this Mar 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment