Just wanted to share something I did, still very amateur when it comes to bash, but I wrote a script to disconnect bluetooth controllers after I close my emulator. I’m sure there are better ways to do it, but this is my way of coping having lost DS4Windows PS+Options quick disconnect-

#!/bin/bash

# Run Retroarch flatpak run org.libretro.RetroArch

# Disconnect Controller after Quitting bluetoothctl disconnect 40:1B:5F:C9:94:2C

Just wanted to share as either my search games is weak, or there really isn’t anything out there this straightforward.

Next up, trying to set up antimicrox to enable the same feature… :)

  • MrSoup
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Yes, it is unmaintained, but it does the job and works well. What the OP is looking for is already there. Since it’s just a simple tool should be ok. Take a look at github’s insights > network, maybe there is an active fork.