mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Fixed some documentation, added some things to sockets, "Fixed" the ROMFS
The romfs is still not working, but it works better.
This commit is contained in:
parent
e7ff54d58c
commit
6b65df0b8e
10 changed files with 115 additions and 70 deletions
|
|
@ -25,12 +25,12 @@ while ctr.run() do
|
|||
local keys = hid.keys()
|
||||
if keys.down.start then break end
|
||||
|
||||
local infos = qtm.getHeadTrackingInfo()
|
||||
local infos = qtm.getHeadtrackingInfo()
|
||||
|
||||
gfx.start(gfx.TOP)
|
||||
if infos:checkHeadFullyDetected() then
|
||||
for i=1, 4 do
|
||||
gfx.point(infos:convertCoordToScreen(1, 400, 240))
|
||||
gfx.point(infos:convertCoordToScreen(i, 400, 240))
|
||||
end
|
||||
end
|
||||
gfx.stop()
|
||||
|
|
|
|||
|
|
@ -51,4 +51,4 @@ while ctr.run() do
|
|||
end
|
||||
end
|
||||
|
||||
error("Main process has exited.\nPlease reboot.\nPressing Start does not work yet.")
|
||||
error("Main process has exited.\nPlease reboot.\nPressing Start does not work yet.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue