pc_keyboardStruct ScancodeSet1
Source pub struct ScancodeSet1 { }
Expand description
Returns the “default value” for a type.
Read more
Implements state logic for scancode set 1
§Start:
E0
=> Goto Extended
E1
=> Goto Extended 2
< 0x80
=> Key Down
>= 0x80
=> Key Up
§Extended:
< 0x80
=> Extended Key Down
>= 0x80
=> Extended Key Up
§Extended 2:
< 0x80
=> Extended 2 Key Down
>= 0x80
=> Extended 2 Key Up
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.