Coder Social home page Coder Social logo

Comments (4)

flok avatar flok commented on May 25, 2024 1

No, because it would be only implemented that the code thinks the button is pressed, but you cant signal the Controller itself that its pressed.

from pydualsense.

flok avatar flok commented on May 25, 2024

Hey,

the library doesn't support on setting the state of the PS button for example, the only thing is changeable are the trigger setting and some colors. The only way to see a change in the buttons is by pressing the button on the controller and reading the variable.

Also the sendReport() function doesnt need to be called, the library start a background thread that constantly triggers the sendReport() function by itself.

If you want some examples look in the example folder in this repository. There you cant find some code snippets to read / write to the controller using the defined functions

from pydualsense.

HenriDickel avatar HenriDickel commented on May 25, 2024

Is this a feature that could be added in the future? I would be very interested in controlling the buttons using python.

from pydualsense.

chruzie avatar chruzie commented on May 25, 2024

Thanks very much for your time

from pydualsense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.