Add readme
This commit is contained in:
parent
ab2d25343a
commit
b3d3c83edb
1 changed files with 21 additions and 0 deletions
21
README.md
Normal file
21
README.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# A small CLI program to use kobo libra color as a graphics tablet
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Pipe the /dev/input/event1 from the device into the `kobo-color-inputdev` via stdin.
|
||||||
|
|
||||||
|
Eg:
|
||||||
|
|
||||||
|
`ssh -p 2222 root@192.168.1.2 cat /dev/input/event1 | sudo ./build/kobo-color-inputdev 2>&1`
|
||||||
|
|
||||||
|
This repo also includes an `inputcat` utility which grabs exclusive access to the input device preventing the device itself from reacting to your taps.
|
||||||
|
|
||||||
|
`ssh -p 2222 root@192.168.1.2 cat /tmp/inputcat | sudo ./build/kobo-color-inputdev 2>&1`
|
||||||
|
|
||||||
|
## What does this do
|
||||||
|
|
||||||
|
The kobo color touchscreen driver doesn't emit input events correctly for pens, so this program rewrites them to function correctly and then uses `/dev/uinput` to create a userspace input device.
|
||||||
|
|
||||||
|
## Why
|
||||||
|
|
||||||
|
idk, I thought it'd be neat to be able to use my kobo as a graphics tablet. Kobo unlock the bootloader so I can put pmos on pls
|
Loading…
Reference in a new issue