User Tools

Site Tools


getting_started:tutorials:inputdev1

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
getting_started:tutorials:inputdev1 [2021/03/31 17:13] – [Reading from a Mouse] ursgrafgetting_started:tutorials:inputdev1 [2021/03/31 17:16] – [Reading from a XBox Controller] ursgraf
Line 4: Line 4:
 ===== Reading from a Mouse ===== ===== Reading from a Mouse =====
  
-In the EEROS library you will find a directory with examples. For this example see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/block/mousetest.cpp|MouseTest.cpp]]. +In the EEROS library you will find a directory with examples. For this example see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/block/MouseTest.cpp|MouseTest.cpp]]. 
  
 Open a shell in the build directory of your EEROS library and run  Open a shell in the build directory of your EEROS library and run 
Line 19: Line 19:
  
 ===== Reading from a Keyboard ===== ===== Reading from a Keyboard =====
-In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run +In the EEROS library you will find a directory with examples. For this example see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/block/KeyboardTest.cpp|KeyboardTest.cpp]]. 
 + 
 +Open a shell in the build directory of your EEROS library and run 
 <code> <code>
 $ sudo ./examples/block/keyboardTest $ sudo ./examples/block/keyboardTest
 </code> </code>
-Study the code of the example together with the code of the ''MouseInput'' block.+Study the code of the example together with the code of the ''KeyboardInput'' block.
 ===== Reading from a XBox Controller ===== ===== Reading from a XBox Controller =====
-In the EEROS library you will find a directory with examples. Open a shell in the build directory of your EEROS library and run +In the EEROS library you will find a directory with examples. For this example see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/block/XBoxTest.cpp|XBoxTest.cpp]]. 
 + 
 +Open a shell in the build directory of your EEROS library and run 
 <code> <code>
 $ sudo ./examples/block/xBoxTest $ sudo ./examples/block/xBoxTest
getting_started/tutorials/inputdev1.txt · Last modified: 2021/03/31 17:17 by ursgraf