JoyCon.NET
Public Types | Public Member Functions | Properties
InputFull Class Reference

Standard full input report. More...

Inheritance diagram for InputFull:
Inheritance graph
[legend]
Collaboration diagram for InputFull:
Collaboration graph
[legend]

Public Types

enum class  BatteryLevels : byte {
  Empty = 0 , Critical = 1 , Low = 2 , Medium = 3 ,
  Full = 4
}
 Battery level. More...
 
enum class  ConnectionInfo : byte { Pro_or_ChrGrip = 0 , RingCon = 1 , Unknown = 2 , JoyCon = 3 }
 Connection info. More...
 

Public Member Functions

override string ToString ()
 

Properties

byte ReportId [get]
 HID report ID. More...
 
byte Timer [get]
 Timer. Increments very fast. Can be used to estimate excess Bluetooth latency. More...
 
BatteryLevels Battery [get]
 Battery level. More...
 
bool Charging [get]
 Charging status. More...
 
ConnectionInfo Connection [get]
 Connection info. More...
 
bool UsbPowered [get]
 USB powered. More...
 
ButtonsFull Buttons [get]
 Button states. More...
 
IStickPosition LeftStick [get]
 Left stick state. More...
 
IStickPosition RightStick [get]
 Right stick state. More...
 
byte RumbleData [get]
 Rumble input report (???). Decides if next vibration pattern should be sent. More...
 
- Properties inherited from IJoyConReport
byte ReportId [get]
 HID report ID. More...
 

Detailed Description

Standard full input report.

Member Enumeration Documentation

◆ BatteryLevels

enum InputFull.BatteryLevels : byte
strong

Battery level.

Enumerator
Empty 

Empty.

Critical 

Critical.

Low 

Low.

Medium 

Medium.

Full 

Full.

◆ ConnectionInfo

enum InputFull.ConnectionInfo : byte
strong

Connection info.

Enumerator
Pro_or_ChrGrip 

Pro Controller or Charging Grip.

RingCon 

Ring-Con. Maybe also some other accessories, not sure.

Unknown 

Unknown. This value appears when Joy-Con halfways inserted into something.

JoyCon 

Joy-Con.

Property Documentation

◆ ReportId

byte InputFull.ReportId
get

HID report ID.

◆ Timer

byte InputFull.Timer
get

Timer. Increments very fast. Can be used to estimate excess Bluetooth latency.

◆ Battery

BatteryLevels InputFull.Battery
get

Battery level.

◆ Charging

bool InputFull.Charging
get

Charging status.

◆ Connection

ConnectionInfo InputFull.Connection
get

Connection info.

◆ UsbPowered

bool InputFull.UsbPowered
get

USB powered.

◆ Buttons

ButtonsFull InputFull.Buttons
get

Button states.

◆ LeftStick

IStickPosition InputFull.LeftStick
get

Left stick state.

◆ RightStick

IStickPosition InputFull.RightStick
get

Right stick state.

◆ RumbleData

byte InputFull.RumbleData
get

Rumble input report (???). Decides if next vibration pattern should be sent.