Home
last modified time | relevance | path

Searched refs:nunchuck (Results 1 – 6 of 6) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dnunchuck.cxx47 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()
[all …]
DCMakeLists.txt93 add_executable (nunchuck-example nunchuck.cxx)
216 include_directories (${PROJECT_SOURCE_DIR}/src/nunchuck)
353 target_link_libraries (nunchuck-example nunchuck ${CMAKE_THREAD_LIBS_INIT})
/hardware/bsp/intel/peripheral/libupm/examples/java/
DNUNCHUCKSample.java39 upm_nunchuck.NUNCHUCK nunchuck = new upm_nunchuck.NUNCHUCK(0); in main() local
43 if (!nunchuck.init()) { in main()
49 nunchuck.update(); in main()
50 System.out.println("stickX: " + nunchuck.getStickX() + ", stickY: " in main()
51 + nunchuck.getStickY()); in main()
52 System.out.println("accelX: " + nunchuck.getAccelX() + ", accelY: " in main()
53 + nunchuck.getAccelY() + ", accelZ: " + nunchuck.getAccelZ()); in main()
55 if (nunchuck.getButtonC()) in main()
60 if (nunchuck.getButtonZ()) in main()
/hardware/bsp/intel/peripheral/libupm/src/nunchuck/
DCMakeLists.txt1 set (libname "nunchuck")
2 set (libdescription "upm wii nunchuck module")
/hardware/bsp/intel/peripheral/libupm/doxy/
Dsamples.mapping.txt94 nunchuck.cxx NUNCHUCKSample.java
/hardware/bsp/intel/peripheral/libupm/docs/
Dchangelog.md64 * New sensors: mma7660, cjq4435, adxl335, hmtrp, nunchuck, otp538u, l298,