pub struct ScancodeSet2;
Expand description

Contains the implementation of Scancode Set 2. See the OS dev wiki: https://wiki.osdev.org/PS/2_Keyboard#Scan_Code_Set_2 Additional reference: https://www.win.tue.nl/~aeb/linux/kbd/scancodes-10.html

Trait Implementations

Implements state logic for scancode set 2

Start: F0 => Release E0 => Extended E1 => Extended2 (only used for Pause Key) xx => Key Down

Release: xxx => Key Up

Extended: F0 => Release Extended xx => Extended Key Down

Release Extended: xxx => Extended Key Up

Extended2: F0 => Release Extended2 xx => Extended2 Key Down

Release Extended2: xxx => Extended2 Key Up

Implements the single byte codes for Set 2.

Implements the extended byte codes for set 2 (prefixed with E0)

Implements the extended byte codes for set 2 (prefixed with E1)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.