study 1 question…
just started please help the noob 
I’m stuck on the key pressing. When I add key function to the script:
function key(n,z)
print("key " … n … " == " … z)
end
Save and re-run I get this message on the key pressed on Norns:
lua: /home/we/norns/lua/paramset.lua:177: attempt to index a nil value (field ‘?’)
stack traceback:
/home/we/norns/lua/paramset.lua:177: in function ‘paramset.t’
/home/we/norns/lua/menu.lua:690: in function ‘fileselect.key_restore’
/home/we/norns/lua/menu.lua:144: in function </home/we/norns/lua/menu.lua:121>
Not sure where the problem, anybody can help? Thanks!