33#include <RobotAPI/interface/units/GamepadUnit.h>
36#include <linux/joystick.h>
53 "GamepadTopicName",
"GamepadValues",
"Name of the Gamepad Topic");
55 "GamepadDeviceName",
"/dev/input/js2",
"device that will be opened as a gamepad");
57 "GamepadForceFeedbackName",
59 "device that will be used for force feedback, leave empty to disable. See "
60 "RobotAPI/source/RobotAPI/drivers/GamepadUnit/README.md for more details.");
64 "In Milliseconds. Timeout after which the gamepad data is not published after, if "
65 "no new data was read from the gamepad");
120 void vibrate(const ::Ice::Current& = ::Ice::emptyCurrent)
override;
123 GamepadUnitListenerPrx topicPrx;
129 std::string deviceName;
130 std::string deviceEventName;
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
GamepadUnitPropertyDefinitions(std::string prefix)
Brief description of class GamepadUnit.
void onInitComponent() override
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
void vibrate(const ::Ice::Current &=::Ice::emptyCurrent) override
bool openGamepadConnection()
void onExitComponent() override
std::string getDefaultName() const override
IceUtil::Handle< PeriodicTask< T > > pointer_type
Shared pointer type for convenience.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
IceUtil::Handle< RunningTask< T > > pointer_type
Shared pointer type for convenience.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
IceInternal::Handle< TimestampVariant > TimestampVariantPtr