https://bugs.winehq.org/show_bug.cgi?id=37047
--- Comment #14 from Gregory g@bonk.cc --- OK, last comment / opinion.
I tested this issue with Karabiner and I used the Mac PKG file.
That works just fine. Karabiner is able to identify the application that is active "org.winehq.wine"
It is just unfortunate that the process installing wine using Brew doesn't allow the application to be properly registered in the Mac's lsregister.
I would propose that we file an enhancement to investigate that we could get the Brew install of wine to be enhanced to play more nicely with Mac and add a process where the brew wine app be registered with the Mac's 'registry'