Registry / utility / micmonay-keybd-event

micmonay-keybd-event

JSON →
library1.1.2gogounverified

Simulates key presses on Windows, Linux, and macOS.

go get github.com/micmonay/keybd_event
INSTALL
IMPORT
SIG · MICMONAY-KEYBD-EVE
M
micmonay-keybd-event
utilitygov1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

keybd_event
github.com/micmonay/keybd_event

Simulate pressing the 'A' key.

package main import ( "github.com/micmonay/keybd_event" ) func main() { kb := keybd_event.NewKeyBonding() kb.SetKeys(keybd_event.VK_A) kb.Launching() }
Debug
Known issues
gotchaMay require root/administrator privileges on some systems to simulate key events.
fix
Run the program with appropriate permissions.
affects: all
Upgrade
Version history
1.1.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
micmonay-keybd-event — go get micmonay-keybd-event · libregistry