Skip to content

shermp/go-kobo-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-kobo-input

go-kobo-input provides those developing on Kobo ereaders basic touch handling capabilities.

Installation & Usage

The sample application for go-kobo-input requires CGO to be enabled. A GCC ARM cross compiler is also required. The following environment variables need to be set as well:

GOOS=linux
GOARCH=arm
CGO_ENABLED=1

# Set C cross compiler variables
CC=/home/<user>/x-tools/arm-kobo-linux-gnueabihf/bin/arm-kobo-linux-gnueabihf-gcc
CXX=/home/<user>/x-tools/arm-kobo-linux-gnueabihf/bin/arm-kobo-linux-gnueabihf-g++

go-kobo-input can be obtained using go get:

go get github.com/shermp/go-kobo-input/...

Note that go-fbink-v2 and go-osk is required for the sample application. However, go get should resolve this dependency.

Refer to koboin-osk-sample/main.go for a usage example. This sample also demonstrates usage of the go-osk onscreen keyboard.

About

Basic touch input handling for Kobo ereaders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages