Similar to Hammerspoon's hs.eventtap. This allows Karabiner-style keyboard remapping and manipulation to be implemented with Phoenix.
My use case: I have some app-specific bindings I use ("rebind key X, but only in app Y"), currently implemented in Hammerspoon. I'd like to retire Hammerspoon in favor of Phoenix.
The app-specific bindings I have can be expressed in Karabiner, but I find the JSON syntax much harder to work with and debug than procedural javascript.
Similar to Hammerspoon's hs.eventtap. This allows Karabiner-style keyboard remapping and manipulation to be implemented with Phoenix.
My use case: I have some app-specific bindings I use ("rebind key X, but only in app Y"), currently implemented in Hammerspoon. I'd like to retire Hammerspoon in favor of Phoenix.
The app-specific bindings I have can be expressed in Karabiner, but I find the JSON syntax much harder to work with and debug than procedural javascript.