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



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.

Dave, would you please post some info (link etc.) on that USB keyboard
thing? I have yet to look into it and do it so I have not done any
searches, but I may have to before I know so having the right
file or bookmark would be helpful.

Thanks,

Dimiter

------------------------------------------------------
Dimiter Popoff Transgalactic Instruments

http://www.tgi-sci.com
------------------------------------------------------
On Aug 29, 8:36 pm, Dave Hansen <i...@xxxxxxxxxxx> wrote:
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: or or ?
    ... keypad enter key is 0x58. ... USB HID doesn't have release codes ... the way the PS/2 keyboard does: ... It's in the USB HID Usage Tables. ...
    (comp.arch.embedded)
  • Re: or or ?
    ... USB HID doesn't have release codes ... the way the PS/2 keyboard does: ... Dave, would you please post some info on that USB keyboard ... It's in the USB HID Usage Tables. ...
    (comp.arch.embedded)