https://github.com/johan-bolmsjo/chimp
Chimp is a simple input package (mice, tablets etc)
https://github.com/johan-bolmsjo/chimp
go golang input-device mice tablets
Last synced: about 2 months ago
JSON representation
Chimp is a simple input package (mice, tablets etc)
- Host: GitHub
- URL: https://github.com/johan-bolmsjo/chimp
- Owner: johan-bolmsjo
- License: mit
- Created: 2018-05-20T18:28:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T07:08:56.000Z (over 6 years ago)
- Last Synced: 2025-03-17T19:09:51.485Z (2 months ago)
- Topics: go, golang, input-device, mice, tablets
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chimp
Chimp is a simple input package (mice, tablets etc). Device support will be
added when there is a need for it. The initial purpose of the package is to
support drawing tablet input for a paint program yet to be written.The package builds on top of (a forked) version of
[golang-evdev](https://github.com/gvalkov/golang-evdev) trying to provide a more
user-friendly API. For example Wacom tablets are exposed as three independent
devices by Linux and golang-evdev. This packages opens all three automatically
and multiplexes all events from them into one event stream.## Documentation
Use the [godoc](https://godoc.org/golang.org/x/tools/cmd/godoc) tool to view API
documentation.## Supported OS
Only Linux is supported at the moment but the Linux device events are converted
to another representation exported by this package in a platform independent
manner.## Sample Programs
There are two sample programs under `cmd/` which is built in the standard Go
fashion.Pick your poision:
* `go get github.com/johan-bolmsjo/chimp/cmd/chimp-dump-events`
* `cd cmd/chimp-dump-events && go build`
* `go install ./...`### chimp-dump-events
Open first supported device and dump all events read from it.
### chimp-list-devices
List all found supported devices.
## Supported devices
* Wacom Bamboo 16FG 6x8 (Linux)