JoyCon.NET
|
Simple input report from the Joy-Con controller. More...
Public Types | |
enum class | HatPosition : byte { Up = 0x00 , UpRight = 0x01 , Right = 0x02 , DownRight = 0x03 , Down = 0x04 , DownLeft = 0x05 , Left = 0x06 , UpLeft = 0x07 , Center = 0x08 } |
The possible positions of the stick. More... | |
Public Member Functions | |
override string | ToString () |
Static Public Member Functions | |
static InputSimple | FromBytes (byte[] data) |
Creates an InputSimple object from raw data. More... | |
Properties | |
byte | ReportId [get] |
Gets the HID report ID. More... | |
ButtonsSimple | Buttons [get] |
Gets the simple button data. More... | |
HatPosition | StickHatPosition [get] |
Gets the simple stick hat data as when controller is held sideways. More... | |
IStickPosition | ProConLeftStick [get] |
Gets the left stick data of the Pro Controller. More... | |
IStickPosition | ProConRightStick [get] |
Gets the right stick data of the Pro Controller. More... | |
![]() | |
byte | ReportId [get] |
HID report ID. More... | |
Simple input report from the Joy-Con controller.
|
strong |
The possible positions of the stick.
|
inlinestatic |
Creates an InputSimple object from raw data.
data | The raw data. |
InvalidDataException | Thrown when there is not enough data to fill the InputSimple class. |
|
get |
Gets the HID report ID.
|
get |
Gets the simple button data.
|
get |
Gets the simple stick hat data as when controller is held sideways.
|
get |
Gets the left stick data of the Pro Controller.
|
get |
Gets the right stick data of the Pro Controller.