[][src]Module joycon_rs::joycon::input_report_mode

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

StructRemarksFrequency
SimpleHIDMode<D>Simple HID mode. Reports pushed buttons, and stick directions (one of 8 directions).(Every time some button pressed)
StandardFullMode<D>IMU(6-Axis sensor) data with standard input report60Hz
SubCommandMode<D, RD>SubCommand's reply with standard input report?
(Unimplemented)NFC/IR MCU FW update with standard input report
(Unimplemented)NFC/IR data with standard input report60Hz

Standard input report consists of input report ID, Timer, battery level, connection info, button status, analog stick data, and vibrator input report.

If you want to implement input report mode, you can use InputReportMode<D>.

Modules

simple_hid_mode

Receive simple HID report.

standard_full_mode

Receive standard full report (standard input report with IMU(6-Axis sensor) data).

sub_command_mode

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

Structs

AnalogStickData

Analog stick data

Battery

Battery info

CommonReport

Common parts of the standard input report

ConnectionInfo

Connection info

PushedButtons

Button status

SimpleHIDMode

Simple HID mode pushes updates with every button press.

StandardFullMode

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

StandardInputReport

Standard input report with extra report.

Enums

BatteryLevel

Battery level

Device

Device info

Traits

InputReportMode