Re: [Pharo-dev] Keyboard Event Weirdness

2015-03-02 Thread p...@highoctane.be
9 Le 2 mars 2015 21:35, "Sean P. DeNigris" a écrit : > > Sean P. DeNigris wrote > > It seems the keyUp/Downs do not have the correct charCode and the keyValue > > is different than the keystroke for the same key. What's going on here? Each platform has its own idea about these events. That is wh

Re: [Pharo-dev] Keyboard Event Weirdness

2015-03-02 Thread Sean P. DeNigris
Sean P. DeNigris wrote > It seems the keyUp/Downs do not have the correct charCode and the keyValue > is different than the keystroke for the same key. What's going on here? This still has not been fixed. Any ideas? I sent a message to the VM list... - Cheers, Sean -- View this message in c

Re: [Pharo-dev] Keyboard Event Weirdness

2014-01-15 Thread p...@highoctane.be
In the VM code, all three are generated in sequence by the segment below. So, yes, it is an unholy mess. The real key taken inside Pharo is the macRomanCharacter getting translated in the lookupString thing. The KeyDown and KeyUp events are holding the evt.charCode, whatever this happens to be.

Re: [Pharo-dev] Keyboard Event Weirdness

2014-01-15 Thread Sean P. DeNigris
philippeback wrote > Which platform are you on? Mac 10.8.5 - Cheers, Sean -- View this message in context: http://forum.world.st/Keyboard-Event-Weirdness-tp4737056p4737075.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Re: [Pharo-dev] Keyboard Event Weirdness

2014-01-15 Thread p...@highoctane.be
Which platform are you on? --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:p...@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos Hig

Re: [Pharo-dev] Keyboard Event Weirdness

2014-01-15 Thread Sean P. DeNigris
b.t.w. the position of the events has anInteger for x and aFloat for y. What's up with that? - Cheers, Sean -- View this message in context: http://forum.world.st/Keyboard-Event-Weirdness-tp4737056p4737064.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

[Pharo-dev] Keyboard Event Weirdness

2014-01-15 Thread Sean P. DeNigris
I put the following halt in HandMorph>>#handleEvent: anEvent isKeyboard ifTrue: [Transcript show: anEvent printString, ' keyChar: ', anEvent keyCharacter asString, ' keyValue: ', anEvent keyValue asString; cr]. Then I typed 'hi' in a Workspace and hit Cmd+a. Look at the weird Transcript ou