Definition at line 365 of file module-hid.cc.
Implements DriveRead.
Definition at line 371 of file module-hid.cc.
References IncludeParser::GetFileName(), HighParser::GetInt(), HighParser::GetReal(), HighParser::IsArg(), HighParser::IsKeyWord(), MBDYN_EXCEPT_ARGS, DataManager::pGetDrvHdl(), and v0.
376 "Module: joystick \n"
377 "Author: Pierangelo Masarati <pierangelo.masarati@polimi.it> \n"
378 "Organization: Dipartimento di Scienze e Tecnologie Aerospaziali \n"
379 " Politecnico di Milano \n"
380 " http://www.aero.polimi.it/ \n"
382 " All rights reserved \n"
384 " file: <label> , joystick , \n"
386 " <number_of_buttons> , \n"
387 " <number_of_linear_controls> , \n"
388 " [ scale, <scale_factor> [ , ... ] ] ; \n"
390 " <file> ::= \"/dev/input/js0\" \n"
392 " <scale_factor>'s default to 1.0 \n"
407 std::string sFileName(s);
419 std::vector<doublereal> lc_scale(nLC);
421 for (
integer idx = 0; idx < nLC; idx++) {
426 for (
integer idx = 0; idx < nLC; idx++) {
431 const std::vector<doublereal>
v0;
#define MBDYN_EXCEPT_ARGS
virtual integer GetInt(integer iDefval=0)
virtual const char * GetFileName(enum Delims Del=DEFAULTDELIM)
const DriveHandler * pGetDrvHdl(void) const
virtual bool IsKeyWord(const char *sKeyWord)
static const std::vector< doublereal > v0
virtual doublereal GetReal(const doublereal &dDefval=0.0)
The documentation for this struct was generated from the following file: