4 struct control icontrol
;
6 void motor_ctrl(unsigned int s
, int direction
){
8 if(s
<0 || s
>65535) s
=0;
19 void wplus_ctrl(unsigned int s
){
24 int control_pad(struct track
*p
){
26 unsigned int m
=S0
,w
=MID
,ms
=S0
,ws
=MID
;
42 while(p
[i
].x
!=-1 && i
<15){
47 while(p
[i
].x
!=-1 && i
<20){
130 if(w
<MID
&& w
>ws
) w
=ws
;
131 if(w
>MID
&& w
<ws
) w
=ws
;