OK looking at the above results - a few notes: 1. All of the letter issues are built in as mootools only works with english locale (for all letters) - since it transfers them t asscii 2. All the control/command/shift keys also won't work properly without a more extensive engine change, and IMO should be checked as shit+a and not A. 3. I haven't checked the keypad number so they might need a fix
but most of the above errors, although pointing to a deeper problem, do not seem to relate to the fix I've been checking for (other than Arian's check)... Looking at it all, I would say that at the very least the docs should state the limitation of the current mechanism so that people would know what to expect On Wed, Dec 29, 2010 at 2:05 PM, Andrea Dessì <[email protected]> wrote: > Italian locale with mac keyboard > > //these are the keypad numbers.... > > - problem! keydown:` |press:0 > - problem! keydown:n |press:, > - no prob!:enter > - problem! keydown:a |press:1 > - problem! keydown:b |press:2 > - problem! keydown:c |press:3 > - problem! keydown:d |press:4 > - problem! keydown:e |press:5 > - problem! keydown:f |press:6 > - problem! keydown:= |press:+ > - problem! keydown:g |press:7 > - problem! keydown:h |press:8 > - problem! keydown:i |press:9 > - no prob!:- > - problem! keydown:» |press:= > - problem! keydown:o |press:/ > - no prob!:* > > > //these are options+key keys... > > > - problem! keydown: |press:° > - problem! keydown: |press:à > - problem! keydown: |press:# > - problem! keydown: |press:¶ > - problem! keydown:» |press:] > - problem! keydown: |press:[ > - problem! keydown: |press:@ > - problem! keydown:» |press:] > - problem! keydown:r |press:® > - problem! keydown:g |press:∞ > - problem! keydown:b |press:∫ > - problem! keydown:x |press:† > - problem! keydown:s |press:ß > - problem! keydown:e |press:€ > - problem! keydown:4 |press:¥ > - problem! keydown:5 |press:~ > - problem! keydown:6 |press:‹ > - problem! keydown:7 |press:÷ > - problem! keydown:0 |press:≠ > - > - problem! keydown:/ |press:? > - problem! keydown:6 |press:^ > > > So ... we got problem :( > > -- > Andrea > > > > > On Wed, Dec 29, 2010 at 12:57, Robert <[email protected]> wrote: > >> 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 > > > -- Arieh Glazer אריה גלזר 052-5348-561 http://www.arieh.co.il http://www.link-wd.co.il
