Difference between revisions of "Joystick"

From ArmadeusWiki
Jump to: navigation, search
(Introduction)
Line 1: Line 1:
 +
{{Under_Construction}}
 +
 
== Introduction ==
 
== Introduction ==
  
Line 33: Line 35:
 
== Test the joystick ==
 
== Test the joystick ==
  
== List of joystick tested ==
+
Two programs named jstest and jscal wrote by Vojtech Pavlik can be use to test and calibrate the joystick. To use it select joysticktest package in buildroot :
 +
 
 +
<pre class="host">
 +
$ make menuconfig
 +
</pre>
 +
 
 +
<pre class="config">
 +
 
 +
</pre>
 +
 
 +
== List of joysticks tested ==
  
 
=== Austria microsystems AS5011 joystick ===
 
=== Austria microsystems AS5011 joystick ===

Revision as of 17:00, 7 July 2010

Page under construction... 

Construction.png Informations on this page are not guaranteed !!

Introduction

Joystick can be a good device to play some games or to use graphical interface. Linux has an interface for it named joydev, to use it select joydev in linux configuration :

$ make linux26-menuconfig

then select in menu:

Device Drivers  --->
    Input device support  --->
            <*>   Joystick interface

To use it on the target, node has to be made :

cd /dev
rm js*
mkdir input
mknod input/js0 c 13 0
mknod input/js1 c 13 1
mknod input/js2 c 13 2
mknod input/js3 c 13 3
ln -s input/js0 js0
ln -s input/js1 js1
ln -s input/js2 js2
ln -s input/js3 js3

Test the joystick

Two programs named jstest and jscal wrote by Vojtech Pavlik can be use to test and calibrate the joystick. To use it select joysticktest package in buildroot :

$ make menuconfig

List of joysticks tested

Austria microsystems AS5011 joystick

Links

  • Linux kernel code documentation