Make it possible to trigger on shortcuts deactivation
Includes globalShortcutReleased
which allows us to get notified when one of our actions stops being pressed.
Allows us to implement things like Push-to-Talk.
Draft because I am not sure the X11 code path is correct
Edited by Aleix Pol Gonzalez