21 lines
861 B
Markdown
21 lines
861 B
Markdown
# 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
|