Macro-Deck-App / Macro-Deck

Macro Deck transforms your phone, tablet, or any device equipped with a modern internet browser into an efficient remote macro pad. With this tool, you can execute single or multi-step actions seamlessly with just a single tap.
https://macro-deck.app
Apache License 2.0
917 stars 73 forks source link

USB devices not reconnecting after disconnecting and reconnecting USB cable #557

Open TheTimCliff opened 2 months ago

TheTimCliff commented 2 months ago

Describe the bug I am running the client on an old phone connected via usb (IP connection is not an option). Whenevei i physically disconnect my phone from the usb cable and then reconnect it loses the connection to the macrodeck server.wq

To Reproduce

  1. Set up Macro-deck client on Android phone
  2. Connect Macro-deck server using USB
  3. Ensure the Macro-deck is working.
  4. Disconnect the USB cable from the phone and wait till phone attempts to reconnect
  5. Reconnect USB cable to phone.

Macro-deck will only reconnect if the server is restarted on the host machine.

Expected behavior On reconnecting of the phone to the computer it is expected that the Macro-deck will reconnect and continue working.

Additional context I am using an android phone as the client. USB debugging is enabled on the phone.