mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 08:49:30 +00:00
Renamed os.run to ctr.run ; added ctr.hid.read
All other HID functions no longer update inputs when they are called.
This commit is contained in:
parent
036c0a03ce
commit
155a2e9805
4 changed files with 16 additions and 35 deletions
|
|
@ -30,7 +30,8 @@ local function drawStuffIn3D(depth)
|
|||
gfx.circle(125 - depth*4, 125, 16)
|
||||
end
|
||||
|
||||
while os.run() do
|
||||
while ctr.run() do
|
||||
hid.read()
|
||||
local keys = hid.keys()
|
||||
|
||||
if keys.down.start then return end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue