Skip to content

Latest commit

 

History

History

examples

Joycon-rs examples

Run

cargo run --example {example's name ex.home_light}

Examples

Outputs the product name of the connected JoyCon, and then does so each time a new JoyCon is connected.

The connected Joy-Con's HOME button emits light.

home_light_image

Set the emission pattern for the player lights of the connected Joy-Cons.

player_lights_image

Operates the vibrator of the detected JoyCon and shakes it.

Receive simple HID report from connected Joy-Cons.

Receive standard full report (includes 6-Axis sensor IMU data) from connected Joy-Cons.