%%KnowledgeBase 
  @uses: ESATKB1
%

!Ergebnis-Objekte
%%Solution
Technologien zur Positionseingabe
- joystick_sb ~ Joystick small mit Tasten
- joystick_sn ~ Joystick small ohne Tasten
- joystick_mb ~ Joystick medium mit Tasten
- joystick_mn ~ Joystick medium ohne Tasten
- joystick_lb ~ Joystick large mit Tasten
@package ESATKB1
%

!Link
%%property 
joystick_sb.link = Wiki.jsp?page=ESAT_Joystick
joystick_sn.link = Wiki.jsp?page=ESAT_Joystick
joystick_mb.link = Wiki.jsp?page=ESAT_Joystick
joystick_mn.link = Wiki.jsp?page=ESAT_Joystick
joystick_lb.link = Wiki.jsp?page=ESAT_Joystick
@package ESATKB1
%

!Deklaration der Joystick-Variable
%%Question
joystick_order [num] <abstract>
@package ESATKB1
%

!Eigenschaften der Joystick-Variable 
%%property 
joystick_order.init = 0
@package ESATKB1
%

!Regeln zu der Reihenfolge der Joysticks
%%rule
//zur Bestimmung der Reihenfolge
IF eval(gt(joystick_order,0)) THEN positiondevice_usable = yes

IF eval(ge(joystick_order,pow(10,5))) AND eval(lt(joystick_order,pow(10,6))) THEN joystick_mb = P5 
IF eval(ge(joystick_order,pow(10,4))) AND eval(lt(joystick_order,pow(10,5))) THEN joystick_sb = P5 
IF eval(ge(joystick_order,pow(10,3))) AND eval(lt(joystick_order,pow(10,4))) THEN joystick_lb = P5 
IF eval(ge(joystick_order,pow(10,2))) AND eval(lt(joystick_order,pow(10,3))) THEN joystick_mn = P5 
IF eval(ge(joystick_order,pow(10,1))) AND eval(lt(joystick_order,pow(10,2))) THEN joystick_sn = P5 
@package ESATKB1
%