Home | History | Annotate | Download | only in os2

Lines Matching refs:axis

154 ucNewJoystickMask = 0x0F;	/* read all 4 joystick axis */
187 GAME_3POS_STRUCT * axis[4];
188 axis[0] = &stGameCalib.Ax;
189 axis[1] = &stGameCalib.Ay;
190 axis[2] = &stGameCalib.Bx;
191 axis[3] = &stGameCalib.By;
213 SYS_JoyData[0].axes_min[i] = axis[i]->lower;
214 SYS_JoyData[0].axes_med[i] = axis[i]->centre;
215 SYS_JoyData[0].axes_max[i] = axis[i]->upper;
218 if (joycfg.buttons>=5) SYS_JoyData[0].buttoncalc[0]=((axis[2]->lower+axis[3]->centre)>>1);
219 if (joycfg.buttons>=6) SYS_JoyData[0].buttoncalc[1]=((axis[3]->lower+axis[3]->centre)>>1);
220 if (joycfg.buttons>=7) SYS_JoyData[0].buttoncalc[2]=((axis[2]->upper+axis[3]->centre)>>1);
221 if (joycfg.buttons>=8) SYS_JoyData[0].buttoncalc[3]=((axis[3]->upper+axis[3]->centre)>>1);
228 /* if two devices were detected... configure as Joy1 4 axis and Joy2 2 axis */
389 Sint16 value, change; /* Values used to update axis values */
391 Uint32 pos[MAX_AXES]; /* Vector to inform the Axis status */
482 Button E: Axis 2 X Left
483 Button F: Axis 2 Y Up
484 Button G: Axis 2 X Right
485 Button H: Axis 2 Y Down