TS_UINPUT(1)

πŸ’– TS_UINPUT(1) πŸ’–

okay bestie, welcome to the tslib corner of the manual pages, this one's all about ts_uinput πŸ¦‹


✨ NAME ✨

ts_uinput β€” a daemon program that makes a tslib-filtered and calibrated input event device, and honestly? it eats πŸ’…


🌸 SYNOPSIS 🌸

ts_uinput [OPTION]

πŸŽ€ DESCRIPTION πŸŽ€

so here's the vibe: ts_uinput is your alternative to using tslib's API directly when what you actually want is filtered + calibrated touch screen input. it uses Linux's uinput system to spin up an input event device that you can just... use, in your environment, no extra wiring 🫢 and because it calls ts_read_mt(), it supports single touch and multi touch. versatile queen ✨

  • -d, --daemonize β€” start ts_uinput as a daemon and then dip, it returns. before it bounces, the sysfs input device name of the brand-new device gets printed to stdout. and if you also picked --verbose, then the /dev/input/eventX path to the device node gets printed too πŸ‘‘
  • -v, --verbose β€” spills debug info to stdout and stderr. heads up though: only works if --daemonize is not chosen. but if you use it together with --daemonize, the path to the created input event device node /dev/input/eventX is printed before the program forks and returns πŸ”₯
  • -n, --name β€” sets the name of your new input event device. default: ts_uinput. name her whatever you want, she's yours πŸ’–
  • -i, --idev β€” explicitly picks the original input event device for tslib to use. default: whatever the environment variable TSLIB_TSDEVICE says. main character selection energy ⭐
  • -f, --fbdev β€” explicitly picks the framebuffer device to use. default: whatever the environment variable TSLIB_FBDEVICE says πŸ¦‹
  • -s, --slots β€” explicitly sets how many concurrent touch contacts are supported. ngl you might only need this if the original input device doesn't report it itself πŸ™ˆ
  • -b, --nofb β€” read the screen resolution values from the input device instead of from the framebuffer device. plot twist 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

ts.conf (5), ts_calibrate (1), ts_test (1) β€” go read those too bestie, iykyk πŸ’œ


and that's the whole page, no cap. this one lives in the tslib manual, section 1, and it's signed off as TS_UINPUT(1) β€” so you know exactly where to find it again when you forget everything i just said πŸ˜­πŸ’€ ily, go calibrate something πŸŽ€βœ¨