Hacker News new | ask | show | jobs
by quesera 4747 days ago
The bridge could be the listener, and the sandboxed apps could open a connection to it. This is probably preferable design anyway.

The apps should request subscription to a set of keypress events, the bridge should get approval from the user (maybe only if the app requests keys other than F keys and media keys?). The bridge should be discoverable by local bonjour rather than running on a known port.