[Pharo-dev] Handling keyboard events…

2014-06-24 Thread Yuriy Tymchuk
Hi everyone, sorry, if I’m annoying with this question, but is there a way to handle keyboard events (on mac) in a normal way? Because keyUp and keyDown do not have any information about the key itself. I know that it’s a long story also related with vm but maybe someone made some hacks to solv

Re: [Pharo-dev] Handling keyboard events…

2014-06-24 Thread p...@highoctane.be
On Tue, Jun 24, 2014 at 10:07 AM, Yuriy Tymchuk wrote: > Hi everyone, > > sorry, if I’m annoying with this question, but is there a way to handle > keyboard events (on mac) in a normal way? Because keyUp and keyDown do not > have any information about the key itself. I know that it’s a long story

Re: [Pharo-dev] Handling keyboard events…

2014-06-24 Thread Guillermo Polito
Actually in latest Pharo keyboard events are extended to get the pressed key: key ^Smalltalk os keyForValue: keyValue I tested it in windows, mac and unix some time ago and it used to work :) On Tue, Jun 24, 2014 at 10:18 AM, p...@highoctane.be wrote: > On Tue, Jun 24, 2014 at 10:07 AM, Yuriy

Re: [Pharo-dev] Handling keyboard events…

2014-06-24 Thread Yuriy Tymchuk
Wow, thanks, Guillermo, it’s working. Uko On 24 Jun 2014, at 12:49, Guillermo Polito wrote: > Actually in latest Pharo keyboard events are extended to get the pressed key: > > key > ^Smalltalk os keyForValue: keyValue > > I tested it in windows, mac and unix some time ago and it used t

Re: [Pharo-dev] Handling keyboard events…

2014-06-24 Thread Stephan Eggermont
This pull request might be relevant: https://github.com/pharo-project/pharo-vm/pull/49