diff --git a/_b_t_d_8cpp_source.html b/_b_t_d_8cpp_source.html index 63fd5ff5..48b714dd 100644 --- a/_b_t_d_8cpp_source.html +++ b/_b_t_d_8cpp_source.html @@ -63,7 +63,7 @@ $(function() {
+ USB Host Shield 2.0
+
+ |
+
Go to the source code of this file.
++Classes | |
class | PS5BT |
+Macros | |
#define | CRC32_POLY_LE 0xedb88320 |
+Variables | |
const uint32_t | crc32_table [] |
const uint32_t crc32_table[] | +
Generated from the standard Ethernet CRC-32 polynomial: x^32+x^26+x^23+x^22+x^16+x^12+x^11+x^10+x^8+x^7+x^5+x^4+x^2+x^1+x^0 Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/bsd/libkern/crc32.c
+ + + +
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
#include "PS5Parser.h"
Go to the source code of this file.
++Enumerations | |
enum | DPADEnum { + DPAD_UP = 0x0, +DPAD_UP_RIGHT = 0x1, +DPAD_RIGHT = 0x2, +DPAD_RIGHT_DOWN = 0x3, + + DPAD_DOWN = 0x4, +DPAD_DOWN_LEFT = 0x5, +DPAD_LEFT = 0x6, +DPAD_LEFT_UP = 0x7, + + DPAD_OFF = 0x8, +DPAD_UP = 0x0, +DPAD_UP_RIGHT = 0x1, +DPAD_RIGHT = 0x2, + + DPAD_RIGHT_DOWN = 0x3, +DPAD_DOWN = 0x4, +DPAD_DOWN_LEFT = 0x5, +DPAD_LEFT = 0x6, + + DPAD_LEFT_UP = 0x7, +DPAD_OFF = 0x8, +DPAD_OFF = 0x0, +DPAD_UP = 0x1, + + DPAD_UP_RIGHT = 0x2, +DPAD_RIGHT = 0x3, +DPAD_RIGHT_DOWN = 0x4, +DPAD_DOWN = 0x5, + + DPAD_DOWN_LEFT = 0x6, +DPAD_LEFT = 0x7, +DPAD_LEFT_UP = 0x8 + + } |
enum DPADEnum | +
Definition at line 24 of file PS5Parser.cpp.
+ +
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
Go to the source code of this file.
++Classes | |
union | PS5Buttons |
struct | ps5TouchpadXY |
union | PS5Status |
struct | PS5Data |
struct | PS5Output |
class | PS5Parser |
+Variables | |
const uint8_t | PS5_BUTTONS [] |
const uint8_t PS5_BUTTONS[] | +
Buttons on the controller
+ +Definition at line 30 of file PS5Parser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
Based on Ludwig Füchsl's DualSense Windows driver https://github.com/Ohjurot/DualSense-Windows. +More...
+#include "PS5Trigger.h"
Go to the source code of this file.
+Based on Ludwig Füchsl's DualSense Windows driver https://github.com/Ohjurot/DualSense-Windows.
+ +MIT License
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Minor updates by Kristian Sloth Lauszus.
+ +Definition in file PS5Trigger.cpp.
+
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
Based on Ludwig Füchsl's DualSense Windows driver https://github.com/Ohjurot/DualSense-Windows. +More...
+#include <inttypes.h>
Go to the source code of this file.
++Classes | |
class | PS5Trigger |
Based on Ludwig Füchsl's DualSense Windows driver https://github.com/Ohjurot/DualSense-Windows.
+ +MIT License
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+Minor updates by Kristian Sloth Lauszus.
+ +Definition in file PS5Trigger.h.
+
+ USB Host Shield 2.0
+
+ |
+
+ USB Host Shield 2.0
+
+ |
+
Go to the source code of this file.
++Classes | |
class | PS5USB |
+Macros | |
#define | PS5_VID 0x054C |
#define | PS5_PID 0x0CE6 |
+ USB Host Shield 2.0
+
+ |
+
Implements BluetoothService.
-Definition at line 548 of file BTHID.cpp.
+Definition at line 558 of file BTHID.cpp.
@@ -624,7 +625,7 @@ BluetoothService implementation -Reimplemented in PS4BT, and XBOXONESBT.
+Reimplemented in PS5BT, PS4BT, and XBOXONESBT.
Definition at line 125 of file BTHID.h.
@@ -693,7 +694,7 @@ BluetoothService implementationCalled when a device is connected
-Reimplemented in PS4BT, and XBOXONESBT.
+Reimplemented in PS5BT, PS4BT, and XBOXONESBT.
@@ -723,7 +724,7 @@ BluetoothService implementationUsed to reset any buffers in the class that inherits this
-Reimplemented in PS4BT, and XBOXONESBT.
+Reimplemented in PS5BT, PS4BT, and XBOXONESBT.
diff --git a/class_b_t_h_i_d__coll__graph.md5 b/class_b_t_h_i_d__coll__graph.md5 index 2121b658..475f1fad 100644 --- a/class_b_t_h_i_d__coll__graph.md5 +++ b/class_b_t_h_i_d__coll__graph.md5 @@ -1 +1 @@ -3b8278cef06a7b1a6670fd63f49235a9 \ No newline at end of file +0dcdeceb9387731aac17c1e2f7f1d503 \ No newline at end of file diff --git a/class_b_t_h_i_d__inherit__graph.map b/class_b_t_h_i_d__inherit__graph.map index 31e785f3..f292d8a1 100644 --- a/class_b_t_h_i_d__inherit__graph.map +++ b/class_b_t_h_i_d__inherit__graph.map @@ -1,5 +1,6 @@ diff --git a/class_b_t_h_i_d__inherit__graph.md5 b/class_b_t_h_i_d__inherit__graph.md5 index 01278e42..0842c1ce 100644 --- a/class_b_t_h_i_d__inherit__graph.md5 +++ b/class_b_t_h_i_d__inherit__graph.md5 @@ -1 +1 @@ -eee85effef418f7404da53bc61be5232 \ No newline at end of file +7c5c383d684ddc1c68899fd7e2fecd45 \ No newline at end of file diff --git a/class_b_t_h_i_d__inherit__graph.png b/class_b_t_h_i_d__inherit__graph.png index 9f3c31d5..b3e7c36c 100644 Binary files a/class_b_t_h_i_d__inherit__graph.png and b/class_b_t_h_i_d__inherit__graph.png differ diff --git a/class_bluetooth_service.html b/class_bluetooth_service.html index 70b5d15c..9bd44448 100644 --- a/class_bluetooth_service.html +++ b/class_bluetooth_service.html @@ -75,12 +75,13 @@ Inheritance diagram for BluetoothService:Reimplemented in PSBuzz, and PS4USB.
+Reimplemented in PSBuzz, PS5USB, and PS4USB.
Definition at line 76 of file hidcomposite.h.
diff --git a/class_h_i_d_composite__coll__graph.md5 b/class_h_i_d_composite__coll__graph.md5 index e821c52e..a1856a0f 100644 --- a/class_h_i_d_composite__coll__graph.md5 +++ b/class_h_i_d_composite__coll__graph.md5 @@ -1 +1 @@ -3f9346dcd1abe9337a6e311a46ba14f4 \ No newline at end of file +bba65447c66e197356858048d3a33867 \ No newline at end of file diff --git a/class_h_i_d_composite__inherit__graph.map b/class_h_i_d_composite__inherit__graph.map index 4959edcc..0896727c 100644 --- a/class_h_i_d_composite__inherit__graph.map +++ b/class_h_i_d_composite__inherit__graph.map @@ -3,6 +3,7 @@ - - + + + diff --git a/class_h_i_d_composite__inherit__graph.md5 b/class_h_i_d_composite__inherit__graph.md5 index 995c3b05..e325aad5 100644 --- a/class_h_i_d_composite__inherit__graph.md5 +++ b/class_h_i_d_composite__inherit__graph.md5 @@ -1 +1 @@ -55a554165c31a4332eebfdfa1938f9a4 \ No newline at end of file +121deb64a898bf7777edfbd49227f25d \ No newline at end of file diff --git a/class_h_i_d_composite__inherit__graph.png b/class_h_i_d_composite__inherit__graph.png index a67d180a..b324eb4b 100644 Binary files a/class_h_i_d_composite__inherit__graph.png and b/class_h_i_d_composite__inherit__graph.png differ diff --git a/class_h_i_d_universal.html b/class_h_i_d_universal.html index 43e2c78a..21105a21 100644 --- a/class_h_i_d_universal.html +++ b/class_h_i_d_universal.html @@ -74,8 +74,9 @@ Inheritance diagram for HIDUniversal:Reimplemented in PSBuzz, and PS4USB.
+Reimplemented in PSBuzz, PS5USB, and PS4USB.
Definition at line 40 of file hiduniversal.h.
diff --git a/class_h_i_d_universal__coll__graph.md5 b/class_h_i_d_universal__coll__graph.md5 index a5ed026f..a9b09f79 100644 --- a/class_h_i_d_universal__coll__graph.md5 +++ b/class_h_i_d_universal__coll__graph.md5 @@ -1 +1 @@ -ecd3f12eeb58ce1f19000e71f580891e \ No newline at end of file +1bf60b9ec91960e1a472f3a6a127cdfa \ No newline at end of file diff --git a/class_h_i_d_universal__inherit__graph.map b/class_h_i_d_universal__inherit__graph.map index 3c2dd8ab..655565f3 100644 --- a/class_h_i_d_universal__inherit__graph.map +++ b/class_h_i_d_universal__inherit__graph.map @@ -1,6 +1,7 @@Reimplemented in BTD, PSBuzz, FTDI, XBOXONE, PS4USB, ADK, XR21B1411, XBOXRECV, XBOXUSB, PS3USB, and XBOXOLD.
+Reimplemented in BTD, PSBuzz, PS5USB, FTDI, XBOXONE, PS4USB, ADK, XR21B1411, XBOXRECV, XBOXUSB, PS3USB, and XBOXOLD.
diff --git a/class_u_s_b_device_config__inherit__graph.map b/class_u_s_b_device_config__inherit__graph.map index 9261e3b5..dfd04beb 100644 --- a/class_u_s_b_device_config__inherit__graph.map +++ b/class_u_s_b_device_config__inherit__graph.map @@ -7,16 +7,17 @@ - - - - - + + + + + - - + + + diff --git a/class_u_s_b_device_config__inherit__graph.md5 b/class_u_s_b_device_config__inherit__graph.md5 index 6c0ff0f9..c01c8565 100644 --- a/class_u_s_b_device_config__inherit__graph.md5 +++ b/class_u_s_b_device_config__inherit__graph.md5 @@ -1 +1 @@ -58fed4c590771d3386dcf73496e9fd5a \ No newline at end of file +ba54b174687399479489b51a7249a07c \ No newline at end of file diff --git a/class_u_s_b_device_config__inherit__graph.png b/class_u_s_b_device_config__inherit__graph.png index fa721658..72ef651f 100644 Binary files a/class_u_s_b_device_config__inherit__graph.png and b/class_u_s_b_device_config__inherit__graph.png differ diff --git a/class_u_s_b_h_i_d.html b/class_u_s_b_h_i_d.html index b3c9fc86..1511f4ce 100644 --- a/class_u_s_b_h_i_d.html +++ b/class_u_s_b_h_i_d.html @@ -81,8 +81,9 @@ Inheritance diagram for USBHID:Definition at line 78 of file controllerEnums.h.
@@ -461,7 +475,7 @@ Enumerations -Definition at line 163 of file controllerEnums.h.
+Definition at line 170 of file controllerEnums.h.
@@ -508,7 +522,7 @@ Enumerations -Definition at line 178 of file controllerEnums.h.
+Definition at line 185 of file controllerEnums.h.
@@ -529,7 +543,7 @@ EnumerationsDefinition at line 211 of file controllerEnums.h.
+Definition at line 218 of file controllerEnums.h.
diff --git a/controller_enums_8h__dep__incl.map b/controller_enums_8h__dep__incl.map index 24accfbc..6ba6f28a 100644 --- a/controller_enums_8h__dep__incl.map +++ b/controller_enums_8h__dep__incl.map @@ -1,11 +1,12 @@
+ USB Host Shield 2.0
+
+ |
+
To implement the SPP protocol I used a Bluetooth sniffing tool called PacketLogger developed by Apple. It enables me to see the Bluetooth communication between my Mac and any device.
+The PS5 library is split up into the PS5BT and the PS5USB library. These allow you to use the Sony PS5 controller via Bluetooth and USB.
+The PS5BT.ino and PS5USB.ino examples shows how to easily read the buttons, joysticks, touchpad and IMU on the controller via Bluetooth and USB respectively. It is also possible to control the rumble, lightbar, microphone LED and player LEDs on the controller. Furthermore the new haptic trigger effects are also supported.
+To pair with the PS5 controller via Bluetooth you need create the PS5BT instance like so: PS5BT PS5(&Btd, PAIR);
and then hold down the Create button and then hold down the PS without releasing the Create button. The PS5 controller will then start to blink blue indicating that it is in pairing mode.
It should then automatically pair the dongle with your controller. This only have to be done once.
+Thanks to Joseph Duchesne for the initial USB code.
+The driver is based on the official Sony driver for Linux: https://patchwork.kernel.org/project/linux-input/cover/20201219062336.72568-1-roderick@gaikai.com/.
+Also thanks to Ludwig Füchsl's https://github.com/Ohjurot/DualSense-Windows for his work on the haptic triggers.
The PS4BT library is split up into the PS4BT and the PS4USB library. These allow you to use the Sony PS4 controller via Bluetooth and USB.
+The PS4 library is split up into the PS4BT and the PS4USB library. These allow you to use the Sony PS4 controller via Bluetooth and USB.
The PS4BT.ino and PS4USB.ino examples shows how to easily read the buttons, joysticks, touchpad and IMU on the controller via Bluetooth and USB respectively. It is also possible to control the rumble and light on the controller and get the battery level.
Before you can use the PS4 controller via Bluetooth you will need to pair with it.
Simply create the PS4BT instance like so: PS4BT PS4(&Btd, PAIR);
and then hold down the Share button and then hold down the PS without releasing the Share button. The PS4 controller will then start to blink rapidly indicating that it is in pairing mode.
Public Attributes | |
union { | |
struct { | |
uint16_t bmStatus | |
uint16_t bmChange | |
} | |
uint32_t bmEvent | |
uint8_t evtBuff [4] | |
}; | |
union { | |
struct { | |
uint16_t bmStatus | |
uint16_t bmChange | |
} | |
uint32_t bmEvent | |
uint8_t evtBuff [4] | |
}; | |
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for PS5Data, including all inherited members.
+accX | PS5Data | |
accY | PS5Data | |
accZ | PS5Data | |
btn | PS5Data | |
gyroX | PS5Data | |
gyroY | PS5Data | |
gyroZ | PS5Data | |
hatValue | PS5Data | |
reserved | PS5Data | |
reserved2 | PS5Data | |
sensor_timestamp | PS5Data | |
sequence_number | PS5Data | |
trigger | PS5Data | |
xy | PS5Data |
+ USB Host Shield 2.0
+
+ |
+
#include <PS5Parser.h>
+Public Attributes | |
uint8_t | hatValue [4] |
uint8_t | trigger [2] |
uint8_t | sequence_number |
PS5Buttons | btn |
uint8_t | reserved [5] |
int16_t | gyroX |
int16_t | gyroZ |
int16_t | gyroY |
int16_t | accX |
int16_t | accZ |
int16_t | accY |
int32_t | sensor_timestamp |
uint8_t | reserved2 |
ps5TouchpadXY | xy |
Definition at line 105 of file PS5Parser.h.
+uint8_t PS5Data::hatValue[4] | +
Definition at line 107 of file PS5Parser.h.
+ +uint8_t PS5Data::trigger[2] | +
Definition at line 108 of file PS5Parser.h.
+ +uint8_t PS5Data::sequence_number | +
Definition at line 110 of file PS5Parser.h.
+ +PS5Buttons PS5Data::btn | +
Definition at line 112 of file PS5Parser.h.
+ +uint8_t PS5Data::reserved[5] | +
Definition at line 114 of file PS5Parser.h.
+ +int16_t PS5Data::gyroX | +
Definition at line 117 of file PS5Parser.h.
+ +int16_t PS5Data::gyroZ | +
Definition at line 117 of file PS5Parser.h.
+ +int16_t PS5Data::gyroY | +
Definition at line 117 of file PS5Parser.h.
+ +int16_t PS5Data::accX | +
Definition at line 118 of file PS5Parser.h.
+ +int16_t PS5Data::accZ | +
Definition at line 118 of file PS5Parser.h.
+ +int16_t PS5Data::accY | +
Definition at line 118 of file PS5Parser.h.
+ +int32_t PS5Data::sensor_timestamp | +
Definition at line 119 of file PS5Parser.h.
+ +uint8_t PS5Data::reserved2 | +
Definition at line 121 of file PS5Parser.h.
+ +ps5TouchpadXY PS5Data::xy | +
Definition at line 125 of file PS5Parser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for PS5Output, including all inherited members.
+b | PS5Output | |
bigRumble | PS5Output | |
disableLeds | PS5Output | |
g | PS5Output | |
microphoneLed | PS5Output | |
playerLeds | PS5Output | |
r | PS5Output | |
reportChanged | PS5Output | |
smallRumble | PS5Output |
+ USB Host Shield 2.0
+
+ |
+
#include <PS5Parser.h>
+Public Attributes | |
uint8_t | bigRumble |
uint8_t | smallRumble |
uint8_t | microphoneLed |
uint8_t | disableLeds |
uint8_t | playerLeds |
uint8_t | r |
uint8_t | g |
uint8_t | b |
bool | reportChanged |
Definition at line 139 of file PS5Parser.h.
+uint8_t PS5Output::bigRumble | +
Definition at line 140 of file PS5Parser.h.
+ +uint8_t PS5Output::smallRumble | +
Definition at line 140 of file PS5Parser.h.
+ +uint8_t PS5Output::microphoneLed | +
Definition at line 141 of file PS5Parser.h.
+ +uint8_t PS5Output::disableLeds | +
Definition at line 142 of file PS5Parser.h.
+ +uint8_t PS5Output::playerLeds | +
Definition at line 143 of file PS5Parser.h.
+ +uint8_t PS5Output::r | +
Definition at line 144 of file PS5Parser.h.
+ +uint8_t PS5Output::g | +
Definition at line 144 of file PS5Parser.h.
+ +uint8_t PS5Output::b | +
Definition at line 144 of file PS5Parser.h.
+ +bool PS5Output::reportChanged | +
Definition at line 145 of file PS5Parser.h.
+ +Public Attributes | ||
union { | ||
uint8_t bmRequestType | ||
struct { | ||
uint8_t recipient: 5 | ||
uint8_t type: 2 | ||
uint8_t direction: 1 | ||
} | ||
} | ReqType_u | |
union { | ||
uint8_t bmRequestType | ||
struct { | ||
uint8_t recipient: 5 | ||
uint8_t type: 2 | ||
uint8_t direction: 1 | ||
} | ||
} | ReqType_u | |
uint8_t | bRequest | |
union { | ||
uint16_t wValue | ||
struct { | ||
uint8_t wValueLo | ||
uint8_t wValueHi | ||
} | ||
} | wVal_u | |
union { | ||
uint16_t wValue | ||
struct { | ||
uint8_t wValueLo | ||
uint8_t wValueHi | ||
} | ||
} | wVal_u | |
uint16_t | wIndex | |
uint16_t | wLength |
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for ps5TouchpadXY, including all inherited members.
+counter | ps5TouchpadXY | |
finger | ps5TouchpadXY | |
touching | ps5TouchpadXY | |
x | ps5TouchpadXY | |
y | ps5TouchpadXY |
+ USB Host Shield 2.0
+
+ |
+
#include <PS5Parser.h>
+Public Attributes | |
struct { | |
uint8_t counter: 7 | |
uint8_t touching: 1 | |
uint16_t x: 12 | |
uint16_t y: 12 | |
} | finger [2] |
Definition at line 81 of file PS5Parser.h.
+uint8_t ps5TouchpadXY::counter | +
Definition at line 83 of file PS5Parser.h.
+ +uint8_t ps5TouchpadXY::touching | +
Definition at line 84 of file PS5Parser.h.
+ +uint16_t ps5TouchpadXY::x | +
Definition at line 85 of file PS5Parser.h.
+ +uint16_t ps5TouchpadXY::y | +
Definition at line 86 of file PS5Parser.h.
+ +struct { ... } ps5TouchpadXY::finger[2] | +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for PS5Buttons, including all inherited members.
+circle | PS5Buttons | |
create | PS5Buttons | |
cross | PS5Buttons | |
dpad | PS5Buttons | |
dummy | PS5Buttons | |
l1 | PS5Buttons | |
l2 | PS5Buttons | |
l3 | PS5Buttons | |
menu | PS5Buttons | |
mic | PS5Buttons | |
ps | PS5Buttons | |
r1 | PS5Buttons | |
r2 | PS5Buttons | |
r3 | PS5Buttons | |
square | PS5Buttons | |
touchpad | PS5Buttons | |
triangle | PS5Buttons | |
val | PS5Buttons |
+ USB Host Shield 2.0
+
+ |
+
#include <PS5Parser.h>
+Public Attributes | |
struct { | |
uint8_t dpad: 4 | |
uint8_t square: 1 | |
uint8_t cross: 1 | |
uint8_t circle: 1 | |
uint8_t triangle: 1 | |
uint8_t l1: 1 | |
uint8_t r1: 1 | |
uint8_t l2: 1 | |
uint8_t r2: 1 | |
uint8_t create: 1 | |
uint8_t menu: 1 | |
uint8_t l3: 1 | |
uint8_t r3: 1 | |
uint8_t ps: 1 | |
uint8_t touchpad: 1 | |
uint8_t mic: 1 | |
uint8_t dummy: 5 | |
}; | |
uint32_t | val: 24 |
Definition at line 56 of file PS5Parser.h.
+uint8_t PS5Buttons::dpad | +
Definition at line 58 of file PS5Parser.h.
+ +uint8_t PS5Buttons::square | +
Definition at line 59 of file PS5Parser.h.
+ +uint8_t PS5Buttons::cross | +
Definition at line 60 of file PS5Parser.h.
+ +uint8_t PS5Buttons::circle | +
Definition at line 61 of file PS5Parser.h.
+ +uint8_t PS5Buttons::triangle | +
Definition at line 62 of file PS5Parser.h.
+ +uint8_t PS5Buttons::l1 | +
Definition at line 64 of file PS5Parser.h.
+ +uint8_t PS5Buttons::r1 | +
Definition at line 65 of file PS5Parser.h.
+ +uint8_t PS5Buttons::l2 | +
Definition at line 66 of file PS5Parser.h.
+ +uint8_t PS5Buttons::r2 | +
Definition at line 67 of file PS5Parser.h.
+ +uint8_t PS5Buttons::create | +
Definition at line 68 of file PS5Parser.h.
+ +uint8_t PS5Buttons::menu | +
Definition at line 69 of file PS5Parser.h.
+ +uint8_t PS5Buttons::l3 | +
Definition at line 70 of file PS5Parser.h.
+ +uint8_t PS5Buttons::r3 | +
Definition at line 71 of file PS5Parser.h.
+ +uint8_t PS5Buttons::ps | +
Definition at line 73 of file PS5Parser.h.
+ +uint8_t PS5Buttons::touchpad | +
Definition at line 74 of file PS5Parser.h.
+ +uint8_t PS5Buttons::mic | +
Definition at line 75 of file PS5Parser.h.
+ +uint8_t PS5Buttons::dummy | +
Definition at line 76 of file PS5Parser.h.
+ +struct { ... } | +
uint32_t PS5Buttons::val | +
Definition at line 78 of file PS5Parser.h.
+ +
+ USB Host Shield 2.0
+
+ |
+
This is the complete list of members for PS5Status, including all inherited members.
+dummy | PS5Status | |
dummy2 | PS5Status | |
dummy3 | PS5Status | |
headphone | PS5Status | |
mic | PS5Status | |
usb | PS5Status | |
val | PS5Status |
+ USB Host Shield 2.0
+
+ |
+
#include <PS5Parser.h>
+Public Attributes | |
struct { | |
uint8_t headphone: 1 | |
uint8_t dummy: 2 | |
uint8_t usb: 1 | |
uint8_t dummy2: 4 | |
uint8_t mic: 1 | |
uint8_t dummy3: 3 | |
}; | |
uint16_t | val |
Definition at line 90 of file PS5Parser.h.
+uint8_t PS5Status::headphone | +
Definition at line 93 of file PS5Parser.h.
+ +uint8_t PS5Status::dummy | +
Definition at line 94 of file PS5Parser.h.
+ +uint8_t PS5Status::usb | +
Definition at line 95 of file PS5Parser.h.
+ +uint8_t PS5Status::dummy2 | +
Definition at line 96 of file PS5Parser.h.
+ +uint8_t PS5Status::mic | +
Definition at line 99 of file PS5Parser.h.
+ +uint8_t PS5Status::dummy3 | +
Definition at line 100 of file PS5Parser.h.
+ +struct { ... } | +
uint16_t PS5Status::val | +
Definition at line 102 of file PS5Parser.h.
+ +This is the complete list of members for PSBUZZButtons, including all inherited members.
blue | PSBUZZButtons | |
btn | PSBUZZButtons | |
btn | PSBUZZButtons | |
green | PSBUZZButtons | |
orange | PSBUZZButtons | |
red | PSBUZZButtons |
Public Attributes | |
struct { | |
uint8_t red: 1 | |
uint8_t yellow: 1 | |
uint8_t green: 1 | |
uint8_t orange: 1 | |
uint8_t blue: 1 | |
} | btn [4] |
struct { | |
uint8_t red: 1 | |
uint8_t yellow: 1 | |
uint8_t green: 1 | |
uint8_t orange: 1 | |
uint8_t blue: 1 | |
} | btn [4] |
uint32_t | val: 20 |
Public Attributes | |
struct { | |
uint8_t dpad: 4 | |
uint8_t reserved: 4 | |
uint8_t a: 1 | |
uint8_t b: 1 | |
uint8_t x: 1 | |
uint8_t y: 1 | |
uint8_t l1: 1 | |
uint8_t r1: 1 | |
uint8_t view: 1 | |
uint8_t menu: 1 | |
uint8_t l3: 1 | |
uint8_t r3: 1 | |
uint8_t reserved2: 6 | |
}; | |
struct { | |
uint8_t dpad: 4 | |
uint8_t reserved: 4 | |
uint8_t a: 1 | |
uint8_t b: 1 | |
uint8_t x: 1 | |
uint8_t y: 1 | |
uint8_t l1: 1 | |
uint8_t r1: 1 | |
uint8_t view: 1 | |
uint8_t menu: 1 | |
uint8_t l3: 1 | |
uint8_t r3: 1 | |
uint8_t reserved2: 6 | |
}; | |
uint32_t | val: 24 |