Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dualsense edge buttons #62

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from
Open

Dualsense edge buttons #62

wants to merge 13 commits into from

Conversation

scj643
Copy link
Contributor

@scj643 scj643 commented Jan 18, 2025

Add support for reading the DualSense Edge buttons.

Added a way to error out if the buttons are unavailable so code should check the is_edge variable added to pydualsense

flok and others added 12 commits March 6, 2024 13:29
-added try except around thread code to handle the IOError raised by hidapi.
-added 'connected' property to indicate when controller is disconnected.

(cherry picked from commit a5ed419)
(cherry picked from commit 6aeeee1)
(cherry picked from commit f58c61b)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
resolve dpad down left issue

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…eptions

Bugfix/handle hidapi exceptions in sendReport

Verified

This commit was signed with the committer’s verified signature.
scj643 Chloe Surett

Verified

This commit was signed with the committer’s verified signature.
scj643 Chloe Surett

Verified

This commit was signed with the committer’s verified signature.
scj643 Chloe Surett
@flok flok changed the base branch from master to dev January 28, 2025 20:57

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@flok
Copy link
Owner

flok commented Jan 28, 2025

Changed to merge to dev branch and added some comments

@@ -107,12 +115,17 @@ def init(self) -> None:
"""
initialize module and device states. Starts the sendReport background thread at the end
"""
self.device: hidapi.Device = self.__find_device()
self.device, self.is_edge = self.__find_device()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we readd a type hint for device and is_edge here again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants