36 #include "rnr/rnrconfig.h" 53 #define HID_BTTN_DOWN 1
55 #define HID_FEAT_INPUT 0x01 56 #define HID_FEAT_OUTPUT 0x02
132 virtual int open() = 0;
139 virtual int close() = 0;
153 virtual int update(uint_t uMSec=T_UPDATE_DFT) = 0;
186 FeatMap_T::iterator pos;
191 iFeatIdFixed = pos->second;
236 HIDFeatType &eFeatType,
254 virtual bool ping() {
return false; }
281 return nError < 0?
"Error":
"";
310 if( bNewState != m_bIsConnected )
312 LOGDIAG3(
"HID is %s.", (bNewState?
"connected":
"not connected"));
314 m_bIsConnected = bNewState;
315 if( !m_bIsConnected )
328 if( bNewState != m_bIsLinked )
330 LOGDIAG3(
"HID is %s.", (bNewState?
"linked":
"not linked"));
332 m_bIsLinked = bNewState;
unknown feature property type
number of supported classes (keep last)
range between [min,max] property type
binary state property type
HIDFeatType
Feature property types.
discrete enumeration feature property type
number of feature property types(keep last)
class is unknown or not initialized
RoadNarrows Robotics standard namespace.
HIDClass
Supported HID classes.
Microsoft Xbox360 game console family.