- From: Andrew Cunningham <andrewc@vicnet.net.au>
- Date: Mon, 30 Jun 2008 14:06:41 +1000
- To: Cameron McCormack <cam@mcc.id.au>
- Message-ID: <48685BD1.8050804@vicnet.net.au>
Cameron McCormack wrote: > >> So are you using a positional approach using the virtual keys or scan >> codes of the physical keyboard, or are you interpreting the keystroke at >> a higher level so that key interpretation is mnemonic, i.e. does it >> matter which key is typed? or is it the q-key independent of the >> physical position of the q|Q key on the keyboard? >> > > Not a positional approach, since we don’t want to go down the road of > physical keyboard layouts, but yes the key with identifier "Q" would be > the one that generates "q" characters (or "Q" when shift is held, or > something completely different if an IME is in use). I believe that is > the intention, anyway. > > It sounds confused to me, as far as i can tell you're trying to use positional keyboard concepts in a mnemonic way. A q|Q on a QWERTY keyboard will have different scan codes and virtual key codes that the q|Q key on an AZERTY keyboard. so if you want a q|Q key on a US keyboard or a French keyboard to do the same thing on a web app, you're talking about a higher level interpretation of what a keyboard is doing. I.e. you're looking at output rather than at physical keys. unless i'm misunderstanding what you're trying to do. if you want input locale independent nomenclature for the keys, then maybe use ISO-9995 based terminology, but that's all positional. So are most virtual key naming conventions I've come across. > Do you mind if I forward this exchange back to public-webapps and > public-i18n-core? > yes, feel free. I'm on the public-i18n-core list. Andrew -- Andrew Cunningham Vicnet Research and Development Coordinator State Library of Victoria 328 Swanston Street Melbourne VIC 3000 Ph: +61-3-8664-7430 Fax: +61-3-9639-2175 Email: andrewc@vicnet.net.au Alt email: lang.support@gmail.com http://home.vicnet.net.au/~andrewc/ http://www.openroad.net.au http://www.vicnet.net.au http://www.slv.vic.gov.au
Received on Monday, 30 June 2008 04:19:49 UTC