fmbt-scripter: record hardware keys on device