Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

Joystick application



joystick
Function get parameters from a Joystick
Distribution joystick-bin-.zip
Jar files joystick.jar
Modules joystick
Provided services joystick
Required services none
Optional properties recheckConnection
frequency

The built-in Joystick application allows to get parameters from a Joystick.

Services

The Joystick application provides only one publish service: Note that the connected data indicates if the joystick is connected[1]
The connection can be checked after the initialization if the recheckConnection property is true
.

joystickarchi

Properties

The Joystick application has two optional properties:
  • recheckConnection: (default is false) If true, indicates if the module should recheck the existence of a connected Joystick after the start if the joystick is not connected at initialization. In that case, it will check each second until the Joystick is connected
  • frequency: (default is 100ms) the frequency of the Joystick polling

Specificities


The Joystick application uses some native libraries for the input. These libraries are distributed in the lib directory. You must add these libraries to the command-line when starting the framework, using the -Djava.library.path property. For example:
      -jar -Djava.library.path=nativelib protoframework.jar

Notes

  1. ^ The connection can be checked after the initialization if the recheckConnection property is true

See also


Categories: builtin-applis

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence