No, I / O modeling is extremely platform specific, and even possible on the same platform. This is not a reliable method for any purpose, so you will not find good libraries for its implementation.
, API-, . , , , . , , , SDL.
, , debounce, , .. 10 .