Lines Matching refs:nunchuck
47 upm::NUNCHUCK *nunchuck = new upm::NUNCHUCK(0); in main() local
51 if (!nunchuck->init()) in main()
59 nunchuck->update(); in main()
61 cout << "stickX: " << nunchuck->stickX in main()
62 << ", stickY: " << nunchuck->stickY << endl; in main()
63 cout << "accelX: " << nunchuck->accelX in main()
64 << ", accelY: " << nunchuck->accelY in main()
65 << ", accelZ: " << nunchuck->accelZ << endl; in main()
68 << ((nunchuck->buttonC) ? "pressed" : "not pressed") << endl; in main()
70 << ((nunchuck->buttonZ) ? "pressed" : "not pressed") << endl; in main()
77 delete nunchuck; in main()