Modify account example
This commit is contained in:
parent
463cb5772b
commit
8e3dda1bbf
1 changed files with 4 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import libnx/input
|
|||
import libnx/app
|
||||
|
||||
proc main() =
|
||||
initDefault()
|
||||
graphics.initDefault()
|
||||
discard consoleInit(nil)
|
||||
|
||||
echo "\x1b[5;2H" & "Account info:"
|
||||
|
|
@ -42,6 +42,9 @@ proc main() =
|
|||
mainLoop:
|
||||
let keysDown = keysDown(Controller.P1_AUTO)
|
||||
|
||||
if keysDown.len() > 0:
|
||||
echo keysDown
|
||||
|
||||
if ControllerKey.Plus in keysDown:
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue