User Tools

Site Tools


eeros_architecture:hal:input_devices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
eeros_architecture:hal:input_devices [2017/05/03 07:59] – [XBox Input] grafeeros_architecture:hal:input_devices [2021/04/16 11:52] – [Mouse Input] ursgraf
Line 3: Line 3:
 You can use a mouse for position information or its button states. In the control system you create an instance of type [[eeros_architecture:control_system:available_blocks:mouseinput|]]. \\ You can use a mouse for position information or its button states. In the control system you create an instance of type [[eeros_architecture:control_system:available_blocks:mouseinput|]]. \\
 It is also possible to check for mouse input in the safety system by means of critical inputs. Defining a [[eeros_architecture:control_system:available_blocks:mouseinput|]] the HAL will contain 3 registered mouse button inputs under the names of: It is also possible to check for mouse input in the safety system by means of critical inputs. Defining a [[eeros_architecture:control_system:available_blocks:mouseinput|]] the HAL will contain 3 registered mouse button inputs under the names of:
-  leftMouseButton +  leftMouseButton 
-  middleMouseButton +  middleMouseButton 
-  rightMouseButton+  rightMouseButton
 As an example you could define a critical input in the safety system as follows As an example you could define a critical input in the safety system as follows
 <code cpp> <code cpp>
Line 11: Line 11:
   criticalInputs = { in1 };   criticalInputs = { in1 };
 </code> </code>
-A more complete example is given in [[getting_started:tutorials:hal2|]] \\+A more complete example is given in [[getting_started:tutorials:inputdev1|]] \\
 WARNING The HAL will contain the three inputs mentioned above only after the control system created its [[eeros_architecture:control_system:available_blocks:mouseinput|]] object. WARNING The HAL will contain the three inputs mentioned above only after the control system created its [[eeros_architecture:control_system:available_blocks:mouseinput|]] object.
  
eeros_architecture/hal/input_devices.txt · Last modified: 2021/04/16 11:52 by ursgraf