Skip to content

Commit

Permalink
PS5 fix for auth
Browse files Browse the repository at this point in the history
  • Loading branch information
arntsonl committed Sep 24, 2024
1 parent 6a7dc59 commit d461e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/ps4/PS4Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d461e88

Please sign in to comment.