SDL icon indicating copy to clipboard operation
SDL copied to clipboard

Idea / Feature Request: Disconnect, power off, turn off gamepad functions

Open Dev-draco opened this issue 2 years ago • 1 comments

Would it be possible to add simple support for sending a signal to power off a controller if applicable?

I apologize if this seems out of place, but I'm told that it isn't possible with SDL, or at least I'm not totally familiar with how. If possible, could this be explained on how to achieve this if it is already possible?

Dev-draco avatar May 20 '23 03:05 Dev-draco

I'm not sure what controllers would be able to turn off programmatically. Surely not many of them...?

icculus avatar May 26 '23 23:05 icculus

Most Bluetooth controllers turn off when disconnected, but that requires a bunch of Bluetooth infrastructure.

Feel free to submit a PR for this, but I'll go ahead and close this for now.

slouken avatar Nov 08 '23 04:11 slouken