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
20082026
-
…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 -
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 -
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…
comment by RickHull · 2023-01-29 · in Tonight's rabbit hole: time math and 32 bit longs -
For those interested, I wrote a similar library for Ruby: https://github.com/rickhull/device_input
comment by RickHull · 2021-05-17 · in Why Is It So Hard to Detect Keyup Event on Linux?