Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- output = io.open("bind.lua", "w")
- output:write("local component = require(\"component\")\n\n")
- output:write("component.setPrimary(\"keyboard\", \"")
- output:write((component.getPrimary("keyboard").address))
- output:write("\")\n")
- output:write("component.gpu.bind(\"")
- output:write((component.getPrimary("screen").address))
- output:write("\")\n")
- output:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement