trigger event connect/disconnect
KrifaYounes opened this issue · 4 comments
KrifaYounes commented
Hello,
I want to send a signal to my mobile application to know if the ps4 controller has started or has disconnected without touching any button.
is there a trigger that lets you know?
ArturSpirin commented
Hi @KrifaYounes ,
There is currently no such triggers but it can be easily added I think. I'll convert this into a feature request and see what I can do.
ArturSpirin commented
@KrifaYounes Try it now in version pyPS4Controller 1.1.9 and let me know. I've also added how to use it here https://github.com/ArturSpirin/pyPS4Controller#registering-callbacks
KrifaYounes commented
Ok thanks i will try
KrifaYounes commented
it work fine
thanks a lot