As a followup, Key_press seems to follow the ASCII table (where the key has
an ASCII rep), at least for some of the browsers.  Worth looking into
probably.

On Wed, Apr 8, 2015 at 11:21 PM, Jeremiah Breeden <
jeremiah.bree...@gmail.com> wrote:

> I didn't find a Key_press table, but for key_down and key_up,
> javascripter.net suggests:
> http://www.javascripter.net/faq/keycodes.htm
>
> I don't have a way to verify all of those, but come cursory checks versus
> what you posted here seem to match.
>
> On Tue, Apr 7, 2015 at 5:45 PM, Jeffrey R. Carter <jrcar...@acm.org>
> wrote:
>
>> On 04/07/2015 01:02 PM, Pascal wrote:
>> > So I went deeper in Javascript particularity particularly with the help
>> of:
>> > http://javascript.info/tutorial/keyboard-events
>> >
>> > Thus Key_up and Key_Down occur for each key press and release then key
>> code is apparently not so standardized across browsers.
>> > See http://unixpapa.com/js/key.html.
>> >
>> > Nevertheless I provide a package Key_Code_List with the correspondance
>> between key and code as I found it on my Mac, Safari and French keyboard.
>> > Other OS and browsers and keyboard may give other couples.
>> > Please come back to me with the couples or add them directly in the
>> package.
>> With my US keyboard and Firefox, Insert gives
>>
>> 2015-04-07 14:36:34.43 : KEY_DOWN, 45,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:36:34.43 : KEY_PRESS, 0,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:36:34.48 : KEY_UP, 45,FALSE,FALSE,FALSE,FALSE
>>
>> Num_Lock
>> 2015-04-07 14:38:42.23 : KEY_DOWN, 144,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:38:42.27 : KEY_UP, 144,FALSE,FALSE,FALSE,FALSE
>>
>> The punctuation keys
>>
>> `~
>> 2015-04-07 14:39:36.07 : KEY_DOWN, 192,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:39:36.08 : KEY_PRESS, 96,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:39:36.14 : KEY_UP, 192,FALSE,FALSE,FALSE,FALSE
>>
>> -_
>> 2015-04-07 14:40:02.14 : KEY_DOWN, 173,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:40:02.14 : KEY_PRESS, 45,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:40:02.18 : KEY_UP, 173,FALSE,FALSE,FALSE,FALSE
>>
>> =+
>> 2015-04-07 14:40:22.77 : KEY_DOWN, 61,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:40:22.77 : KEY_PRESS, 61,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:40:22.82 : KEY_UP, 61,FALSE,FALSE,FALSE,FALSE
>>
>> [{
>> 2015-04-07 14:40:45.87 : KEY_DOWN, 219,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:40:45.87 : KEY_PRESS, 91,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:40:45.94 : KEY_UP, 219,FALSE,FALSE,FALSE,FALSE
>>
>> ]}
>> 2015-04-07 14:41:06.81 : KEY_DOWN, 221,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:41:06.81 : KEY_PRESS, 93,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:41:06.87 : KEY_UP, 221,FALSE,FALSE,FALSE,FALSE
>>
>> \|
>> 2015-04-07 14:41:25.62 : KEY_DOWN, 220,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:41:25.62 : KEY_PRESS, 92,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:41:25.67 : KEY_UP, 220,FALSE,FALSE,FALSE,FALSE
>> (nothing is displayed)
>>
>> ;:
>> 2015-04-07 14:41:59.90 : KEY_DOWN, 59,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:41:59.91 : KEY_PRESS, 59,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:41:59.96 : KEY_UP, 59,FALSE,FALSE,FALSE,FALSE
>>
>> '"
>> 2015-04-07 14:42:18.62 : KEY_DOWN, 222,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:42:18.63 : KEY_PRESS, 39,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:42:18.69 : KEY_UP, 222,FALSE,FALSE,FALSE,FALSE
>>
>> ,<
>> 2015-04-07 14:42:47.20 : KEY_DOWN, 188,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:42:47.20 : KEY_PRESS, 44,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:42:47.29 : KEY_UP, 188,FALSE,FALSE,FALSE,FALSE
>>
>> .>
>> 2015-04-07 14:43:07.76 : KEY_DOWN, 190,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:43:07.76 : KEY_PRESS, 46,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:43:07.84 : KEY_UP, 190,FALSE,FALSE,FALSE,FALSE
>>
>> /?
>> 2015-04-07 14:43:32.46 : KEY_DOWN, 191,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:43:32.46 : KEY_PRESS, 47,FALSE,FALSE,FALSE,FALSE
>> 2015-04-07 14:43:32.50 : KEY_UP, 191,FALSE,FALSE,FALSE,FALSE
>> (this also opens the "Quick Find" box)
>>
>> HTH
>>
>> --
>> Jeff Carter
>> "Ada has made you lazy and careless. You can write programs in C that
>> are just as safe by the simple application of super-human diligence."
>> E. Robert Tisdale
>> 72
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live
>> exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>> event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>> _______________________________________________
>> Gnoga-list mailing list
>> Gnoga-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>
>
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to