
iskey tells you if any of a given list of keys are pressed on any input device in the system. e.g. $ iskey KEY_VOLUMEDOWN Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
iskey
A tiny utility for determining if a key is pressed.
iskey is intended to be used in the context of a constrained environment like the initramfs, it allows for easily scripting things like "is the user holding volume down" which are generally non-trivial to check for in a shell script.