Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Denellyne committed Mar 26, 2024
1 parent 1fb802f commit 4e4dc59
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/ControllerIO/Dualsense/dualsense.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ void extern inline sendDualsenseOutputReport(controller& x360Controller) {
extern UCHAR profileRumble;

while (true) {

Sleep(4);

ZeroMemory(outputHID, 547);
Expand Down Expand Up @@ -78,7 +79,8 @@ void extern inline sendDualsenseOutputReport(controller& x360Controller) {
}

//Send Output Report

if (x360Controller.threadStop) return;

if (x360Controller.hidOffset) {
outputHID[0] = 0x31; // BT Report ID

Expand Down
2 changes: 2 additions & 0 deletions src/ControllerIO/controllerIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#include "ViGEm/Client.h"
#include <hidapi.h>
#include <vector>
#include <mutex>


#ifdef _DEBUG
#define EXPERIMENTAL true
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "main.h"
extern std::string Version = "PCXSenseBeta.0.9.1";
extern std::string Version = "PCXSenseBeta.0.9.2";

extern void (*getInputs)(controller& x360Controller) = &getDualsenseInput;
extern std::string currentDirectory{};
Expand Down

0 comments on commit 4e4dc59

Please sign in to comment.