On 11-Feb-09, at 6:39 AM, Michael Rueger wrote:
>

> alt/ctrl
> so if you hit alt-c (apple-c) slot six is nil

Well you have 3 different events that occur on tapping that key(s)
This follows the rules set by the windows VM.

on the down stroke, we give you EventTypeKeyboard->EventKeyDown, the  
macintosh keycode (some virtual magic number), and zero for the  
unicode value

After the operating system determines what that plastic or rubber key  
was,
we send EventTypeKeyboard-> EventKeyChar, the macintosh macRoman  
character (if possible, may be zero), and the unicode value

Once the key is released,
we send EventTypeKeyboard> EventKeyUp , the macintosh keycode (some  
virtual magic number), and zero for the unicode value

If the key is held down it repeats, and according to windows rules it  
doesn't send the keyup (I believe check the archives), just key down,   
key char

I had offered to return the unicode value for keydown/keyup but was  
told it was too hard for the windows VM to provide that data at the  
point where
key down/up occurs

http://lists.squeakfoundation.org/pipermail/squeak-dev/2003-December/071701.html

As you know some flavours of the Squeak UI look for character input on  
keyChar or keyUp...


So is this on key up/down or key char?


>
>
>>> Oh, I thought the new Mac VMs supported Unicode in the clipboard  
>>> logic as the other VMs now do.
>>> How much effort would that be to add UTF-x support to the current  
>>> clipboard logic?
>> Well that *is* the extended clipboard support. Just need the  
>> smalltalk code to make the proper primitive calls to the extended  
>> clipboard plugin.
>> You need the ClipboardExtendedPlugin.bundle
>
> OK, will do for now.
> Guess in future versions we should remove the clipboard support from  
> the core VM and replace it by the (extended) clipboard plugin.
>
> Michael
>

--
= 
= 
= 
========================================================================
John M. McIntosh <[email protected]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to