TS_FINDDEV(1)

πŸ’– TS_FINDDEV πŸ’–

okay so bestie, this is a tslib situation, section 1 of the manual, and it's literally the "is this thing even a touchscreen??" detector 🫢

✨ NAME ✨

ts_finddev β€” go on a lil quest to discover touch screen devices πŸ”βœ¨


🌸 SYNOPSIS 🌸

ts_finddev device wait_seconds

two arguments, that's the whole vibe, no cap πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so ts_finddev tests whether the device you handed it as a parameter is actually a touch screen device. and like, the way you find out? touch the screen after invoking ts_finddev. yes really. it's waiting for you. touch it. πŸ‘†βœ¨

the return value is the whole personality here:

  • 0 β€” the given timeout wait_seconds expired and no input event ever showed up. kinda ghosted you ngl πŸ’€
  • -1 β€” device is no touch screen device. it's giving "not the one" 😭
  • 1 β€” it IS a touch screen device πŸŽ‰ ate and left no crumbs, periodt πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

  • ts.conf (5)
  • ts_test (1)
  • ts_test_mt (1)
  • ts_calibrate (1)

go read those too, they're iconic πŸ’œ


and that's the whole page bestie!! it's from the tslib crew β€” section 1, the one and only TS_FINDDEV(1), and yeah the footer just says TS_FINDDEV(1) right back at you like a lil echo πŸŽ€ no version, no date, just vibes and a manual name. mwah πŸ’‹βœ¨