Implementation on the host machine (a simple python script which can be edited according to OS/DE/WM specific requirements)
Implementation on this macropad script
It shouldn't be too complex, the python script running on the host machine only needs to be able to send a test serial message because implementing every OS is too difficult.
What this solves
Having to manually select the current application on the macropad, instead it is selected automatically when I window is changed. The application menu functionality should be retained though for if the "current window" program isn't running on the host machine.
Similar to https://github.com/astridos2go/PyCurrentWindow.
There's two parts to this:
It shouldn't be too complex, the python script running on the host machine only needs to be able to send a test serial message because implementing every OS is too difficult.
What this solves Having to manually select the current application on the macropad, instead it is selected automatically when I window is changed. The application menu functionality should be retained though for if the "current window" program isn't running on the host machine.