From d461e88c0dd792f6f959f00a99791b182d126380 Mon Sep 17 00:00:00 2001 From: Luke Arntson Date: Mon, 23 Sep 2024 23:15:10 -0400 Subject: [PATCH] PS5 fix for auth --- src/drivers/ps4/PS4Driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/ps4/PS4Driver.cpp b/src/drivers/ps4/PS4Driver.cpp index e25b460d0..663b5928c 100644 --- a/src/drivers/ps4/PS4Driver.cpp +++ b/src/drivers/ps4/PS4Driver.cpp @@ -46,8 +46,8 @@ void PS4Driver::initialize() { touchpadData.p2.set_x(PS4_TP_X_MAX / 2); touchpadData.p2.set_y(PS4_TP_Y_MAX / 2); - sensorData.powerLevel = 0xB; // 0x00-0x0A, 0x00-0x0B if charging - sensorData.charging = 1; // set this to 1 to show as plugged in + sensorData.powerLevel = 0xA; // 0x00-0x0A, 0x00-0x0B if charging + sensorData.charging = 0; // set this to 0 to show as not plugged in sensorData.headphones = 0; sensorData.microphone = 0; sensorData.extension = 0;