Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #34212

Re: Javascript keycodes

Newsgroups comp.lang.javascript
Subject Re: Javascript keycodes
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <12e04131-18f7-4bef-b57f-646fc4328873@googlegroups.com> <XnsA81A7C352D52Deejj99@194.109.6.166> <1194b5e9-5a31-47f5-ab0d-c6f3c1d4dc20@googlegroups.com> <ed27dc79-860c-47b9-9399-e2d05882cdc0@googlegroups.com> <2b8f8b3f-9531-4493-889f-1f9b0c7b2341@googlegroups.com>
Date 2017-10-26 18:30 +0200
Message-ID <XnsA81ABC5599E1Deejj99@194.109.6.166> (permalink)

Show all headers | View raw


jonas.thornvall@gmail.com wrote on 26 Oct 2017 in comp.lang.javascript:

> Den torsdag 26 oktober 2017 kl. 15:45:14 UTC+2 skrev
> jonas.t...@gmail.com: 
>> Den torsdag 26 oktober 2017 kl. 15:28:09 UTC+2 skrev
>> jonas.t...@gmail.com: 
>> > Den torsdag 26 oktober 2017 kl. 12:12:40 UTC+2 skrev Evertjan.:
>> > > jonas.thornvall@gmail.com wrote on 26 Oct 2017 in
>> > > comp.lang.javascript: 
>> > > 
>> > > > Is there a reason javascript do not differentiate upper and lower
>> > > > keys? It seem a no brainer it should?
>> > > > But maybe there is a reason?
>> > > 
>> > > This is called a strawman argument,
>> > > as you premisse is wrong.
>> > > 
>> > > It is the keyboards that do not differentiate 
>> > > between upper- and lower-case.
>> > > 
>> > > Dear no brainer, perhaps you ment 'upper and lower keys' as
>> > > that a 'Q' is 'upper' to an 'A' on an US-qwerty keyboard?
>> > > 
>> > > -- 
>> > > Evertjan.
>> > > The Netherlands.
>> > > (Please change the x'es to dots in my emailaddress)
>> > 
>> > I may be a bit dent but i thought the keyboard always worked with
>> > ASCII and that the computerside then depending upon language selected
>> > a unicode table to map the ASCII ? 
>> 
>> Evidently they have some special mapping for USB HID components, but i
>> have a computer with PS2, how does that work? It can't be analog or? 
> 
> Well i see now it is called scancodes sent

It does not matter what it is called, but how it works.

The keyboard does not know or process what is printet on top of the physical 
keys, it just forwads the action and the state of the key to the computer,
and the driver in the computer assumes what is ment by that.

So a French keyboard driver assumes an a/A where a US keyboard driver 
assumes a q/Q, and a Hebrew keyboard driver assumes a "/", or a lower!!-case 
'q' when the shift is pressed.

Electromechanically they are all one and the same keyboard but the print on 
the key-top, and that print should match the keyboard-driver.

There is or should be no difference between a PS2 and a USB interface,
because that is just the interface-method.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 02:09 -0700
  Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 02:16 -0700
    Re: Javascript keycodes Maik Koenig <usenetspam@maikkoenig.de> - 2017-10-26 12:21 +0200
      Re: Javascript keycodes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-10-26 12:30 +0200
        Re: Javascript keycodes Maik Koenig <usenetspam@maikkoenig.de> - 2017-10-26 12:52 +0200
  Re: Javascript keycodes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-10-26 12:12 +0200
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:15 -0700
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:19 -0700
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:25 -0700
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:28 -0700
      Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:45 -0700
        Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:54 -0700
          Re: Javascript keycodes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-10-26 18:30 +0200
  Re: Javascript keycodes Mark Lloyd <not@mail.invalid> - 2017-10-26 11:36 -0500

csiph-web