Hacker GitHub

← All repos

rickhull/device_input

View on GitHub ↗ ★ 17 Ruby

Read Linux Kernel Device Input Events from Ruby

4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2021-05-17 · latest 2023-12-05

Mentions per year 4 mentions · busiest year 2023 (3)
20082026
  1. …this interesting. I skip the X layer and just access linux device events directly, in Ruby here: https://github.com/rickhull/device_input
    comment by RickHull · 2023-12-05 · in Understanding Keyboard Events Better
  2. Here's a simpler approach; not sure it does what you want; mostly just read / decode / display: https://github.com/rickhull/device_input
    comment by RickHull · 2023-12-05 · in Understanding Keyboard Events Better
  3. Somewhat related, a small ruby project of mine to read input events from the linux kernel. https://github.com/rickhull/device_input The README goes in some depth about kernel events and timestamps and time implementations on 32-bit vs…
  4. For those interested, I wrote a similar library for Ruby: https://github.com/rickhull/device_input