Instead key_pressed, you can use program evkey (it is in bootmenu package). But also can tell you what key was pressed evkey is opensource (part of bootmenu project), source here: https://garage.maemo.org/plugins/scm...nu&view=markup command read in shell read input from /dev/tty but evkey read it directly without terminal from /dev/input/event*
In future I will push kbd (from ubuntu/debian) and this my recovery-boot to extras repository. So it will be possible to install it in HAM If somebody confirm that my recovery-boot has no problems, I can push it...