flok / pydualsense

control your dualsense controller with python
MIT License
118 stars 32 forks source link

🚧 Start refactoring the library #29

Closed Steffo99 closed 2 years ago

Steffo99 commented 3 years ago

Hi!

I'm creating this draft pull request to let you know that I found your library very useful, so I started working on improving it :)

I'm not done yet, so I marked this PR as a draft. The code doesn't even run yet!

I'm trying to improve the library's API by making it more developer-friendly, using more fields and properties where appropriate, adding docstrings and type annotations everywhere, and generally improving the code. I'm also trying to implement #10!

Since I'm making a lot of opinionated changes, feel free to reject this pull request if you don't like them :)

flok commented 3 years ago

I will gladly take a look when you are finished. Just ping me again :)

Steffo99 commented 2 years ago

Oops :(

Seems like I forgot about this after tinkering with it for a while. Sorry!