key commands

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From Polish to

Threaded View
Host Commands
--------------------------------------------------------------------------------

These commands are sent by the Host to the Keyboard. The most common
command would be the setting/resetting of the Status Indicators (i.e.
the Num lock, Caps Lock & Scroll Lock LEDs). The more common and useful
commands are shown below.


ED Set Status LED's - This command can be used to turn on and off the
Num Lock, Caps Lock & Scroll Lock LED's. After Sending ED, keyboard will
reply with ACK (FA) and wait for another byte which determines their
Status. Bit 0 controls the Scroll Lock, Bit 1 the Num Lock and Bit 2 the
Caps lock. Bits 3 to 7 are ignored.

EE Echo - Upon sending a Echo command to the Keyboard, the keyboard
should reply with a Echo (EE)

F0 Set Scan Code Set. Upon Sending F0, keyboard will reply with ACK (FA)
and wait for another byte, 01-03 which determines the Scan Code Used.
Sending 00 as the second byte will return the Scan Code Set currently in
Use

F3 Set Typematic Repeat Rate. Keyboard will Acknowledge command with FA
and wait for second byte, which determines the Typematic Repeat Rate.

F4 Keyboard Enable - Clears the keyboards output buffer, enables
Keyboard Scanning and returns an Acknowledgment.

F5 Keyboard Disable - Resets the keyboard, disables Keyboard Scanning
and returns an Acknowledgment.

FE Resend - Upon receipt of the resend command the keyboard will re-
transmit the last byte sent.

FF Reset - Resets the Keyboard.

Re: key commands
Mariusz Ł pisze:

Quoted text here. Click to load it
--------------------------------------------------------------------------------
Quoted text here. Click to load it
[...]

Rozumiem, że to backup wiedzy do trzymania przez Google Groups, nawet
jak już znikną tradycyjne klawiatury a słuch o portach PS/2 zaginie?

--
Adam Dybkowski
        http://dybkowski.net /

We've slightly trimmed the long signature. Click to see the full one.

Site Timeline