A simple joystick listener. More...
#include <Robots/SeaBeeIII/XBox360RemoteControlI.H>
Public Member Functions | |
TestJoyStickListener (const nub::soft_ref< Beowulf > b) | |
virtual void | axis (const uint num, const int16 val) |
An axis changed. | |
virtual void | button (const uint num, const bool state) |
A button changed. | |
virtual void | sendData () |
virtual void | axis (const uint num, const int16 val) |
An axis changed. | |
virtual void | button (const uint num, const bool state) |
A button changed. | |
TestJoyStickListener (rutz::shared_ptr< XBox360RemoteControlI > remote) | |
virtual void | axis (const uint num, const int16 val) |
An axis changed. | |
virtual void | button (const uint num, const bool state) |
A button changed. | |
virtual void | axis (const uint num, const int16 val) |
An axis changed. | |
virtual void | button (const uint num, const bool state) |
A button changed. | |
virtual void | axis (const uint num, const int16 val) |
An axis changed. | |
virtual void | button (const uint num, const bool state) |
A button changed. | |
Public Attributes | |
Image< float > | data |
nub::soft_ref< Beowulf > | beo |
rutz::shared_ptr < XBox360RemoteControlI > | itsRemote |
A simple joystick listener.
Definition at line 44 of file test-BeoJoyStick.C.
An axis changed.
num | axis number | |
val | new axis value |
Implements JoyStickListener.
Definition at line 72 of file test-SeaBeeJoyStick.C.
References TCPmessage::addFloat(), TCPmessage::addInt32(), and TCPmessage::reset().
An axis changed.
num | axis number | |
val | new axis value |
Implements JoyStickListener.
Definition at line 93 of file seaBeeJoyStick-master.C.
References TCPmessage::addFloat(), TCPmessage::addInt32(), and TCPmessage::reset().
An axis changed.
num | axis number | |
val | new axis value |
Implements JoyStickListener.
Definition at line 203 of file XBox360RemoteControlI.H.
References abs().
An axis changed.
num | axis number | |
val | new axis value |
Implements JoyStickListener.
Definition at line 52 of file test-JoyStick.C.
An axis changed.
num | axis number | |
val | new axis value |
Implements JoyStickListener.
Definition at line 53 of file test-BeoJoyStick.C.
References Image< T >::setVal().
virtual void TestJoyStickListener::button | ( | const uint | num, | |
const bool | state | |||
) | [inline, virtual] |
A button changed.
num | button number | |
state | new button state (true = pressed) |
Implements JoyStickListener.
Definition at line 117 of file test-SeaBeeJoyStick.C.
virtual void TestJoyStickListener::button | ( | const uint | num, | |
const bool | state | |||
) | [inline, virtual] |
A button changed.
num | button number | |
state | new button state (true = pressed) |
Implements JoyStickListener.
Definition at line 135 of file seaBeeJoyStick-master.C.
virtual void TestJoyStickListener::button | ( | const uint | num, | |
const bool | state | |||
) | [inline, virtual] |
A button changed.
num | button number | |
state | new button state (true = pressed) |
Implements JoyStickListener.
Definition at line 257 of file XBox360RemoteControlI.H.
virtual void TestJoyStickListener::button | ( | const uint | num, | |
const bool | state | |||
) | [inline, virtual] |
A button changed.
num | button number | |
state | new button state (true = pressed) |
Implements JoyStickListener.
Definition at line 55 of file test-JoyStick.C.
virtual void TestJoyStickListener::button | ( | const uint | num, | |
const bool | state | |||
) | [inline, virtual] |
A button changed.
num | button number | |
state | new button state (true = pressed) |
Implements JoyStickListener.
Definition at line 87 of file test-BeoJoyStick.C.
References Image< T >::setVal().