From b51c8b49f6fc95dc28fb4ba0db64d8af9cd715ec Mon Sep 17 00:00:00 2001 From: Nougator <37145431+nougator@users.noreply.github.com> Date: Sun, 17 Jan 2021 20:55:59 +0100 Subject: [PATCH] Fixed verbose. --- pydualsense/pydualsense.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pydualsense/pydualsense.py b/pydualsense/pydualsense.py index 36d6ee7..c61d470 100644 --- a/pydualsense/pydualsense.py +++ b/pydualsense/pydualsense.py @@ -120,7 +120,8 @@ class pydualsense: # read data from the input report of the controller inReport = self.device.read(self.receive_buffer_size) - print(inReport) + if self.verbose: + print(inReport) # decrypt the packet and bind the inputs self.readInput(inReport)