proxy.golang.org : github.com/ghthor/uinput
Package uinput provides access to the userland input device driver uinput on linux systems. For now, only the creation of a virtual keyboard is supported. The keycodes, that are available and can be used to trigger key press events, are part of this package ("KEY_1" for number 1, for example). In order to use the virtual keyboard, you will need to follow these three steps: Initialize the device Example: vk := VKeyboard{} err := vk.Create("/dev/uinput") Send Button events to the device Example: err = vk.SendKeyPress(uinput.KEY_D) Close the device Example: err = vk.Close()
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/ghthor/uinput
License: MIT
Latest release: almost 9 years ago
First release: almost 9 years ago
Namespace: github.com/ghthor
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago