[][src]Module joycon_rs::joycon

Re-exports

pub use device::JoyConDevice;
pub use device::JoyConDeviceType;

Modules

device
device_info
input_report_mode

JoyCon's input report mode is divided into five main categories.

joycon_features
lights

Operate Joy-Con's player lights (LEDs). The gist of this module is Lights.

Structs

GlobalPacketNumber

Increment by 1 for each packet sent. It loops in 0x0 - 0xF range.

JOYCON_RECEIVER
JoyConManager

A manager for dealing with Joy-Cons.

Rumble

Rumble data for vibration.

SimpleHIDMode

Simple HID mode pushes updates with every button press.

SimpleJoyConDriver

The controller user uses to play with. If you're not happy with this implementation, you can use JoyConDriver trait.

StandardFullMode

Joy-Con emitting standard full report includes IMU(6-Axis sensor)

Enums

Buttons
Command
Rotation
SubCommand

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

SubCommandReply

Traits

InputReportMode
JoyConDriver