Re: <CR/LF> or <CR> or <LF>?



On Aug 29, 9:13 am, Didi <d...@xxxxxxxxxxx> wrote:
Wow, never thought "they" would have a code for the Enter key.

We keep on learning :-) :-).

Although strictly, the "Enter" key on keyboards (the popular ones;
not many alternative nowadays, I imagine) does have its own code:
$5A press, $F0 $5a release... (practically 0% relevant to your
query, that is :-).

Unless it's the keypad enter key. Then it's E0 5A for press and E0 F0
5A for release.

And if we're talking about USB HID, the enter key is 0x28, and the
keypad enter key is 0x58. USB HID doesn't have release (break) codes
the way the PS/2 keyboard does: It's down, or it's not.

Regards,

-=Dave

.



Relevant Pages

  • Re: Play other instruments?
    ... like keyboards, sax, flute.....etc. ... Does it help (I imagine it would) or hinder your guitar playing in any ...
    (rec.music.makers.guitar.jazz)
  • Re: Linus laptop and Num lock status
    ... Are there any technical or political reasons why kernel can't change ... We never query the leds, ... know of any AT kbd command to read the led state out of the keyboard. ... various SMM emulated USB keyboards out there? ...
    (Linux-Kernel)
  • Re: Linus laptop and Num lock status
    ... Are there any technical or political reasons why kernel can't change ... keyboards. ... We never query the leds, ... know of any AT kbd command to read the led state out of the keyboard. ...
    (Linux-Kernel)