Documentation
¶
Overview ¶
Package keyboard provides low level hook for keyboard input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(fn HookHandler, c chan<- types.KeyboardEvent) error
Install causes package signal to relay incoming keyboard events to c.
Types ¶
type HookHandler ¶
type HookHandler func(c chan<- types.KeyboardEvent) types.HOOKPROC
HookHandler is a callback function which processes the incoming low level events.
Note: You don't have to care about this function unless customize the default behavior.
Click to show internal directories.
Click to hide internal directories.