Hey Arieh, In the past I had to fixed this for numeric keyboard.
With Your code it works like this: problem! keydown:g |press:7 problem! keydown:h |press:8 problem! keydown:i |press:9 problem! keydown:= |press:+ etc. So - press is ok, keydown is not. Same with polish diacritics: problem! keydown:s |press:ś problem! keydown:c |press:ć problem! keydown:x |press:ź problem! keydown:c |press:ć problem! keydown:z |press:ż problem! keydown:l |press:ł problem! keydown:o |press:ó It doesn't recognize capsed and shifted letters of course: problem! keydown:a |press:ą problem! keydown:e |press:ę problem! keydown:o |press:ó problem! keydown:s |press:ś problem! keydown:l |press:ł problem! keydown:z |press:ż problem! keydown:x |press:ź problem! keydown:c |press:ć problem! keydown:n |press:ń Thanks, On Dec 27, 1:31 pm, אריה גלזר <[email protected]> wrote: > Hey everyone. > After some posts here and on the IRC, I've been working on a fix for > Event.Keys, so that it will identify more generic keys (currently it works > almost only for alpha-numerics). > The real issue is that currently some of these key return unexpected > results, even letter characters. > > In order to make sure this doesn't break on different scenarios/keyboards, > it will be very helpful if you can go into this fiddle and press some > non-letter keys and check for: > 1. does the key match what you pressed? > 2. Have there been a collision between the keydown/press events (it will > tell you if so). > 3. Try it on different locals - I've been pointed out that german is > especially problematic. > > If you find any problems, post them here. > You can see the list I'm checking for on the fiddle's code. For now I > already found out that single-quote doesn't work on my tests. > > the fiddle:http://jsfiddle.net/ariehg/NAZAn/1/ > > Thanks and have a merry xmas! > -- > Arieh Glazer > אריה גלזר > 052-5348-561http://www.arieh.co.ilhttp://www.link-wd.co.il
