Skip to content

Controller on / off management #85

Answered by davidnixon
yPhil-gh asked this question in Q&A
Discussion options

You must be logged in to vote

I did a couple of more test on my side.

  • Logitech wireless USB controller
    node test/lengthy.js
    • plug controller in - buttons work
    • wait a while (not sure how long but I left it for an hour) until the controller turns off
    • I did not set a disconnect message
    • pressed a button ... nothing. But that did seem to wake up the controller.
    • I see connect message
    • pressed button and see good output
  • I repeated the above steps with a wired Logitech controller - same result
    • in this case, because it is wired, it did not turn off but I unplugged it and plugged it back in
    • even in this case I do not set a disconnect message
    • But I pressed button and see good output
  • I repeated the test with a Nintendo Pro b…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yPhil-gh
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants