This is certainly a noob question but as a newcomer on the scene, I'll allow myself to ask it. I can't make the Controls to work. I use this code
white = Color.new(255,255,255) Controls.init() t = Timer.new() while (Timer.getTime(t) < 10000) do Screen.waitVblankStart() input = Controls.read()
Screen.refresh() Screen.clear(TOP_SCREEN) Screen.debugPrint(0, 0, Timer.getTime(t), white, TOP_SCREEN) Screen.debugPrint(0, 15, input, white, TOP_SCREEN) Screen.flip() end Timer.destroy(t) System.exit() The Timer is my way of returning to the HBL. But the input value is something like 3.88654e-270 for around 2s then changes to 2.077994e-307 whatever I press (or maintain). Using Ironhax on N3DS 9.9.0-26E. Did I miss some important line somewhere about enabling the Controls modules? Or it doesn't work with my firmware?
Thank you for your help, hoping that's not a dumb question :/
Last Edit: Aug 28, 2015 14:25:15 GMT 1 by goombi: added Controls.init()