input/keyboard/keyboard_async/source/template.c

/*---------------------------------------------------------------------------------

        Simple console print demo
        -- dovoto

---------------------------------------------------------------------------------*/
#include <nds.h>
#include <stdio.h>

//---------------------------------------------------------------------------------
int main(void) {
//---------------------------------------------------------------------------------
        consoleDemoInit();  //setup the sub screen for printing

        keyboardDemoInit();

        keyboardShow();

        while(1) {
                
                int key = keyboardUpdate();

                if(key > 0)
                        iprintf("%c", key);

                swiWaitForVBlank();
        }

        return 0;
}
 全て クラス ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義
libndsに対してMon Apr 26 23:39:49 2010に生成されました。  doxygen 1.6.3