apex-tux icon indicating copy to clipboard operation
apex-tux copied to clipboard

Gracefully handle "losing" keyboard

Open syphernl opened this issue 2 years ago • 1 comments

My Apex Pro is connected to a USB switcher which - once in a while - gets disrupted for a few seconds. After that the apex-tux tool stops and keeps the last info on the screen. If I restart it manually it works fine.

Would it be possible to have this tool handle this more gracefully, e.g. by retrying to reconnect until the keyboard is found again?

This can be reproduced by unplugging the keyboard while this tool is running.

syphernl avatar Jan 31 '23 10:01 syphernl

Definitely possible but it'd probably require some architectural refactoring and I'm very short on time at the moment. Your best bet for a quick fix is probably a udev script that kills apex-tux and restarts it.

not-jan avatar Jan 31 '23 15:01 not-jan