[][src]Module joycon_rs::joycon

Modules

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.

JoyConDevice
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)

SubCommandMode

Receive standard input report with sub-command's reply.

Enums

Buttons
Command
JoyConDeviceType
Rotation
SubCommand

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

Traits

InputReportMode
JoyConDriver