예제 #1
0
파일: main.cpp 프로젝트: kyna/project-1
void main()
{
    static SensorListener sensors;

    sensors.install();

    // We're entirely event-driven. Everything is
    // updated by SensorListener's event callbacks.
    while (1)
        System::paint();
}
예제 #2
0
void main()
{
    static SensorListener sensors;

    sensors.install();


    while (1) {
        System::paint();
    }
}