Skip to content

Bluetooth connection #49

Description

@mwlock

I am trying to connect my controller via Bluetooth. I am using Ubuntu 18.04

I noticed that the report size is only 10, therefore the code is throwing an error when running

Report length 10
Device connected via bluetooth
[INFO] [1683724328.458037]: Connected to controller.
Exception in thread Thread-15:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jfine/.local/lib/python3.6/site-packages/pydualsense/pydualsense.py", line 233, in sendReport
    self.readInput(inReport)
  File "/home/jfine/.local/lib/python3.6/site-packages/pydualsense/pydualsense.py", line 287, in readInput
    misc2 = states[10]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions