You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to support macros, which turn one key event or key sequence into another. For example, Ctrl + Shift+ H causes the key sequence for Hello world to be typed. One way to implement this would be to listen for the desired input sequence, and output an AFK event when it is detected. This AFK event could then be handled by the application to decide what should happen next. The app could use AFK HID helpers to generate the sequence of events for Hello world. If this API were to be built on the right layers and abstractions, an application developer may be able to code this scenario like the following.
We would like to support macros, which turn one key event or key sequence into another. For example,
Ctrl
+Shift
+H
causes the key sequence forHello world
to be typed. One way to implement this would be to listen for the desired input sequence, and output an AFK event when it is detected. This AFK event could then be handled by the application to decide what should happen next. The app could use AFK HID helpers to generate the sequence of events forHello world
. If this API were to be built on the right layers and abstractions, an application developer may be able to code this scenario like the following.Set up a listener for the key sequence:
Handle the AFK event when a macro is triggered:
(This is pseudo code and the concept is open to modification.)
The text was updated successfully, but these errors were encountered: