@@ -6,11 +6,13 @@ uses Linux kernel 'input' interface, available on a wide range of linux devices,
uses go channels to pipe around events, for flexibility and multi-threading.
## Operation
## Using
make event channels from methods on HID type. `HID.On<<event>>()`
basically, after some setup, you handle events on the channels returned by methods on the HID type. each specific to an event type; `HID.On<<event type>>(<<index>>)`
also some higher-level event modifiers for common UI abstractions, to help standard usage.
the Capture() method automates this by returning a slice of channels for all the required events.
package also has some higher-level event modifiers for common UI abstractions, to help standardise advanced usage.