User Tools

Site Tools


getting_started:tutorials:hal2

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
getting_started:tutorials:hal2 [2017/04/22 17:39] grafgetting_started:tutorials:hal2 [2017/05/03 07:39] graf
Line 1: Line 1:
 ====== Reading from a Mouse ====== ====== Reading from a Mouse ======
 In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run ''examples/controlsystem/mouseTest''. In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run ''examples/controlsystem/mouseTest''.
-This examples reads four axis of a mouse together with three buttons and outputs the results periodically.\\+This examples reads four axis of a mouse together with three buttons and outputs the results periodically. Further, the safety system checks for the middle button to be pressed. This causes a level change. As soon as the button is released the safety system changes back to the first level.\\
 In order to read from the proper mouse events you can install and run the ''evtest'' program.  In order to read from the proper mouse events you can install and run the ''evtest'' program. 
 <code> <code>