Skip to main content

control your DualSense (PS5) controller with python

Project description

pydualsense

control your dualsense through python. using the hid library this module implements the sending report for controlling you new PS5 controller. It creates a background thread to constantly update the controller.

dependecies

  • hid >= 1.0.4

usage

from pydualsense import pydualsense

ds = pydualsense() # open controller
ds.setColor(255,0,0) # set touchpad color to red
ds.close() # closing the controller

Coming soon

  • reading the states of the controller to enable a fully compatibility with python
  • add documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydualsense-0.0.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

pydualsense-0.0.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pydualsense-0.0.4.tar.gz.

File metadata

  • Download URL: pydualsense-0.0.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for pydualsense-0.0.4.tar.gz
Algorithm Hash digest
SHA256 356c223981a5780364674dad40d37846e5fcf1f4c167b27645763f2bcadf8542
MD5 29f086bb5c1fc8f64aaa2d04276a6da0
BLAKE2b-256 2e2b321d606cbb55cbac01fbd85f011fb8ae7ae8168f31f2e404f5b7238c3b0a

See more details on using hashes here.

Provenance

File details

Details for the file pydualsense-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pydualsense-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for pydualsense-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 baa9866805266e3ae9ef1a16470773c05d92e6d6a765cb9ababed641ed64cbb9
MD5 3f4716c92892222ce91bf069ce9b110c
BLAKE2b-256 c7737a08724202541abcfee86bb686a71acd0103ed6d54f478adcef534c84033

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page