INPUT-EVENTS(8)

πŸ“¦
version 1.3 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– input-events β€” bestie edition πŸ’–

okay so this is input-events, from the INPUT-EVENTS(8) manual β€” section 8, admin tools, we love a system-level icon ✨


🌸 NAME 🌸

input-events β€” print input events πŸ–¨οΈβœ¨

like, it literally prints your input events. that's the whole job. and it ate. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

input-events [-t sec] [-g] devnr

short, sweet, iconic. three little things and a device number. periodt. πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe: input-events listens for events on the kernel input device devnr and prints them. πŸ‘‘

that's it. that's the main character energy. you point it at a device, it sits there listening like the world's most attentive bestie, and every time something happens it tells you. no cap. 🫢


✨ OPTIONS ✨

  • devnr β€” the index of the input device you wanna use. like, 0 means /dev/input/event0 and so on and so forth. 🌈 pick your fighter.
  • -g β€” grab the device using EVIOCGRAB, which is the fancy way of saying you get exclusive access to the device. nobody else gets to play with it while you're holding it. it's giving possessive girlfriend, but make it ioctl. πŸ’…
  • -t sec β€” set the timeout. the program will quit after sec seconds without activity. so if nothing happens for that long, it's out. bye. gone. no ghosting, just a clean exit. 😭

πŸ‘€ SEE ALSO πŸ‘€

  • lsinput(8) β€” the sister page, go say hi πŸ¦‹

πŸŽ€ AUTHOR πŸŽ€

Gerd Hoffmann <kraxel@redhat.com> β€” thank you for your service, king πŸ‘‘


okay and the little sign-off at the bottom of the original says this page is from July 2005 and it's the INPUT-EVENTS(8) manual β€” vintage but still slaying, fr fr πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from