Input handling through Lua now works, holy shit is it bad though