lua-factory: Export "slow_keys" function