[][src]Enum joycon_rs::joycon::SubCommand

pub enum SubCommand {
    GetOnlyControllerState,
    BluetoothManualPairing,
    RequestDeviceInfo,
    SetInputReportMode,
    TriggerButtonsElapsedTime,
    GetPageListState,
    SetHCIState,
    ResetPairingInfo,
    SetShipmentLowPowerState,
    SPIFlashRead,
    SPIFlashWrite,
    SPISectorErase,
    ResetNFC_IR_MCU,
    Set_NFC_IR_MCUConfiguration,
    Set_NFC_IR_MCUState,
    Get_x28_NFC_IR_MCUData,
    Set_GPIO_PinOutputValue,
    Get_x29_NFC_IR_MCUData,
    SetPlayerLights,
    GetPlayerLights,
    SetHOMELight,
    EnableIMU,
    SetIMUSensitivity,
    WriteToIMURegisters,
    ReadIMURegisters,
    EnableVibration,
    GetRegulatedVoltage,
    SetGPIOPinOutputValue,
    GetGPIOPinInput_OutputValue,
}

ref. https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_subcommands_notes.md

Variants

GetOnlyControllerState
BluetoothManualPairing
RequestDeviceInfo
SetInputReportMode
TriggerButtonsElapsedTime
GetPageListState
SetHCIState
ResetPairingInfo
SetShipmentLowPowerState
SPIFlashRead
SPIFlashWrite
SPISectorErase
ResetNFC_IR_MCU
Set_NFC_IR_MCUConfiguration
Set_NFC_IR_MCUState
Get_x28_NFC_IR_MCUData
Set_GPIO_PinOutputValue
Get_x29_NFC_IR_MCUData
SetPlayerLights
GetPlayerLights
SetHOMELight
EnableIMU
SetIMUSensitivity
WriteToIMURegisters
ReadIMURegisters
EnableVibration
GetRegulatedVoltage
SetGPIOPinOutputValue
GetGPIOPinInput_OutputValue

Trait Implementations

impl Clone for SubCommand[src]

impl Copy for SubCommand[src]

impl Debug for SubCommand[src]

impl Eq for SubCommand[src]

impl Hash for SubCommand[src]

impl PartialEq<SubCommand> for SubCommand[src]

impl StructuralEq for SubCommand[src]

impl StructuralPartialEq for SubCommand[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.