Context. In the first two examples both sentences sound exactly the same, but it has never been a problem.
In some examples I‘d maybe expect stronger emphasis on the noun. ‚Sucht‘ (short u) vs ‚sucht‘ (long u) from the last example are pronounced very differently.
There is https://github.com/libratbag/piper for Linux which seems to support the my master. It is definitely more limited than Logitech gaming software, but allows me to configure my g600 just fine.