No description
Find a file
2024-11-10 20:38:38 +01:00
src Fix 32bit event mapping 2024-11-10 16:39:26 +01:00
.clang-format Project setup 2024-11-01 23:58:48 +01:00
.gitignore Fix result ignore 2024-11-10 00:49:28 +01:00
default.nix Project setup 2024-11-01 23:58:48 +01:00
flake.lock Project setup 2024-11-01 23:58:48 +01:00
flake.nix Create an inputcat binary 2024-11-10 14:51:45 +01:00
meson.build Create an inputcat binary 2024-11-10 14:51:45 +01:00
README.md Add readme 2024-11-10 20:38:38 +01:00
shell.nix Rewrite kobo color inputs 2024-11-10 00:08:01 +01:00

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