Comments (4)
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.
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.
Is this a feature that could be added in the future? I would be very interested in controlling the buttons using python.
from pydualsense.
Thanks very much for your time
from pydualsense.
Related Issues (20)
- Mute button HOT 6
- Is it possible to send input state on writeReport ? HOT 3
- Arm/Raspberry Pi support HOT 6
- check this out HOT 2
- hidapi fails to install HOT 5
- Import error on Python 3.9.5 HOT 1
- Raspberry Pi library issue HOT 6
- Add HidHide detection
- L2 trigger value comparison mistyped HOT 1
- OSError: Could not open connection to device. HOT 1
- setLeftMotor and setRightMotor backwards? HOT 1
- Failure on macOS, M1 HOT 4
- the sixaxis data is unreadable HOT 4
- Is it possible to press buttons? HOT 1
- Detect disconnected controller HOT 1
- Bluetooth connection
- Use pydualsense to make the controller behave like a mouse
- Add examples to build and make them available through cli after install
- Better trigger support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydualsense.