OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NUNCHUCK
(Results
1 - 6
of
6
) sorted by null
/hardware/bsp/intel/peripheral/libupm/src/nunchuck/
nunchuck.h
35
* @defgroup
nunchuck
libupm-
nunchuck
39
* @library
nunchuck
40
* @sensor
nunchuck
54
* http://wiibrew.org/wiki/Wiimote/Extension_Controllers/
Nunchuck
63
* @image html
nunchuck
.jpg
64
* @snippet
nunchuck
.cxx Interesting
66
class
NUNCHUCK
{
69
*
NUNCHUCK
constructor
74
NUNCHUCK
(int bus, uint8_t addr=NUNCHUCK_I2C_ADDR)
[
all
...]
nunchuck.cxx
30
#include "
nunchuck
.h"
36
NUNCHUCK
::
NUNCHUCK
(int bus, uint8_t addr)
63
NUNCHUCK
::~
NUNCHUCK
()
68
bool
NUNCHUCK
::writeByte(uint8_t reg, uint8_t byte)
82
int
NUNCHUCK
::readBytes(uint8_t reg, uint8_t *buffer, int len)
93
bool
NUNCHUCK
::init()
107
void
NUNCHUCK
::update()
/hardware/bsp/intel/peripheral/libupm/examples/c++/
nunchuck.cxx
29
#include "
nunchuck
.h"
46
// Instantiate a
nunchuck
controller bus 0
47
upm::
NUNCHUCK
*
nunchuck
= new upm::
NUNCHUCK
(0);
local
51
if (!
nunchuck
->init())
53
cerr << "
nunchuck
->init() failed." << endl;
59
nunchuck
->update();
61
cout << "stickX: " <<
nunchuck
->stickX
62
<< ", stickY: " <<
nunchuck
->stickY << endl
[
all
...]
/hardware/bsp/intel/peripheral/libupm/examples/java/
NUNCHUCKSample.java
38
// Instantiate a
nunchuck
controller bus 0
39
upm_nunchuck.
NUNCHUCK
nunchuck
= new upm_nunchuck.
NUNCHUCK
(0);
local
43
if (!
nunchuck
.init()) {
44
System.err.println("
nunchuck
->init() failed.");
49
nunchuck
.update();
50
System.out.println("stickX: " +
nunchuck
.getStickX() + ", stickY: "
51
+
nunchuck
.getStickY());
52
System.out.println("accelX: " +
nunchuck
.getAccelX() + ", accelY:
[
all
...]
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
nunchuck.js
30
// Instantiate a
nunchuck
controller bus 0
31
var nunchuck_obj = new nunchuck_lib.
NUNCHUCK
(0);
37
console.log("
nunchuck
->init() failed.");
/hardware/bsp/intel/peripheral/libupm/examples/python/
nunchuck.py
27
# Instantiate a
nunchuck
controller bus 0 on I2C
28
myNunchuck = upmNunchuck.
NUNCHUCK
(0)
49
print "
nunchuck
->init() failed."
Completed in 188 milliseconds