File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
framework_lib/src/chromium_ec Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ pub enum EcCommands {
60
60
FlashNotified = 0x3E01 ,
61
61
/// Change charge limit
62
62
ChargeLimitControl = 0x3E03 ,
63
+ DisablePs2Emulation = 0x3E8 ,
63
64
/// Get/Set Fingerprint LED brightness
64
65
FpLedLevelControl = 0x3E0E ,
65
66
/// Get information about the current chassis open/close status
Original file line number Diff line number Diff line change @@ -1048,6 +1048,17 @@ impl EcRequest<EcResponseChargeLimitControl> for EcRequestChargeLimitControl {
1048
1048
/// TODO: Use this
1049
1049
pub const EC_CHARGE_LIMIT_RESTORE : u8 = 0x7F ;
1050
1050
1051
+ #[ repr( C , packed) ]
1052
+ pub struct EcRequestDisablePs2Emulation {
1053
+ pub disable : u8 ,
1054
+ }
1055
+
1056
+ impl EcRequest < ( ) > for EcRequestDisablePs2Emulation {
1057
+ fn command_id ( ) -> EcCommands {
1058
+ EcCommands :: DisablePs2Emulation
1059
+ }
1060
+ }
1061
+
1051
1062
#[ repr( u8 ) ]
1052
1063
#[ derive( Debug , FromPrimitive ) ]
1053
1064
pub enum FpLedBrightnessLevel {
You can’t perform that action at this time.
0 commit comments