Searched refs:axes (Results 1 - 17 of 17) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/gameport/
H A Dlightning.c76 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
94 axes[i] = inb(L4_PORT);
95 if (axes[i] > 252) axes[i] = -1;
196 static int l4_calibrate(struct gameport *gameport, int *axes, int *max) argument
208 axes[i] = (axes[i] < 0) ? -1 : (axes[i] * cal[i]) / t;
209 axes[i] = (axes[
[all...]
H A Dfm801-gp.c45 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
51 axes[0] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5);
53 axes[1] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5);
56 axes[2] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5);
58 axes[3] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/au88x0/
H A Dau88x0_game.c55 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
63 axes[i] =
65 if (axes[i] == AXIS_RANGE)
66 axes[i] = -1;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/
H A Dspaceorb.c80 int axes[6]; local
99 axes[0] = ( data[2] << 3) | (data[ 3] >> 4);
100 axes[1] = ((data[3] & 0x0f) << 6) | (data[ 4] >> 1);
101 axes[2] = ((data[4] & 0x01) << 9) | (data[ 5] << 2) | (data[4] >> 5);
102 axes[3] = ((data[6] & 0x1f) << 5) | (data[ 7] >> 2);
103 axes[4] = ((data[7] & 0x03) << 8) | (data[ 8] << 1) | (data[7] >> 6);
104 axes[5] = ((data[9] & 0x3f) << 4) | (data[10] >> 3);
106 input_report_abs(dev, spaceorb_axes[i], axes[i] - ((axes[i] & 0x200) ? 1024 : 0));
H A Da3d.c59 int axes[4]; member in struct:a3d
133 a3d->axes[0] = ((signed char)((data[11] << 6) | (data[12] << 3) | (data[13]))) + 128;
134 a3d->axes[1] = ((signed char)((data[14] << 6) | (data[15] << 3) | (data[16]))) + 128;
135 a3d->axes[2] = ((signed char)((data[17] << 6) | (data[18] << 3) | (data[19]))) + 128;
136 a3d->axes[3] = ((signed char)((data[20] << 6) | (data[21] << 3) | (data[22]))) + 128;
198 static int a3d_adc_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
204 axes[i] = (a3d->axes[i] < 254) ? a3d->axes[i] : -1;
323 int axes[] local
[all...]
H A Djoydump.c54 int axes[4], buttons; local
74 gameport_cooked_read(gameport, axes, &buttons);
77 printk(KERN_INFO "joydump: | Axis %d: %4d. |\n", i, axes[i]);
H A Danalog.c127 int axes[4]; member in struct:analog_port
182 static void analog_decode(struct analog *analog, int *axes, int *initial, int buttons) argument
189 if (axes[3] < ((initial[3] * ((i << 1) + 1)) >> 3)) {
203 input_report_key(dev, analog_pads[0], axes[2] < (initial[2] >> 1));
205 input_report_key(dev, analog_pads[1], axes[3] < (initial[3] >> 1));
207 input_report_key(dev, analog_pads[2], axes[2] > (initial[2] + (initial[2] >> 1)));
209 input_report_key(dev, analog_pads[3], axes[3] > (initial[3] + (initial[3] >> 1)));
213 input_report_abs(dev, analog_axes[j++], axes[i]);
273 port->axes[j] = (DELTA(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop;
320 port->bads -= gameport_cooked_read(port->gameport, port->axes,
[all...]
H A Dtmdc.c100 const signed char *axes; member in struct:tmdc_model
288 port->abs = model->axes;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dgameport.h194 static inline int gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
197 return gameport->cooked_read(gameport, axes, buttons);
202 static inline int gameport_calibrate(struct gameport *gameport, int *axes, int *max) argument
205 return gameport->calibrate(gameport, axes, max);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/
H A Dazt3328.c157 u16 axes[4]; member in struct:snd_azf3328
1298 int *axes,
1326 for (i = 0; i < ARRAY_SIZE(chip->axes); ++i) {
1331 chip->axes[i] = snd_azf3328_game_inw(
1337 /* trigger next axes sampling, to be evaluated the next time we
1341 * Measurement Ready monitoring for all axes here,
1343 val = 0x03; /* we're able to monitor axes 1 and 2 only */
1349 for (i = 0; i < ARRAY_SIZE(chip->axes); i++) {
1350 axes[i] = chip->axes[
1297 snd_azf3328_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons ) argument
[all...]
H A Dcs4281.c1219 int *axes, int *buttons)
1233 axes[0] = ((js1 & JSC1_Y1V_MASK) >> JSC1_Y1V_SHIFT) & 0xFFFF;
1234 axes[1] = ((js1 & JSC1_X1V_MASK) >> JSC1_X1V_SHIFT) & 0xFFFF;
1235 axes[2] = ((js2 & JSC2_Y2V_MASK) >> JSC2_Y2V_SHIFT) & 0xFFFF;
1236 axes[3] = ((js2 & JSC2_X2V_MASK) >> JSC2_X2V_SHIFT) & 0xFFFF;
1239 if (axes[jst] == 0xFFFF) axes[jst] = -1;
1218 snd_cs4281_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/
H A Dhdaps.c188 /* hdaps_invert is a bitvector to negate the axes */
496 #define HDAPS_DMI_MATCH_INVERT(vendor, model, axes) { \
499 .driver_data = (void *)axes, \
633 "2 invert y-axis, 3 invert both axes.");
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/iforce/
H A Diforce-ff.c310 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button,
321 data[2] = LO(axes) | find_button(iforce, button);
309 make_core(struct iforce* iforce, u16 id, u16 mod_id1, u16 mod_id2, u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, u16 interval, u16 direction) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/
H A Djoystick.tex59 Returns the number of axes for this joystick.
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/cs46xx/
H A Dcs46xx_lib.c2536 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
2550 axes[0] = ((js1 & JSC1_Y1V_MASK) >> JSC1_Y1V_SHIFT) & 0xFFFF;
2551 axes[1] = ((js1 & JSC1_X1V_MASK) >> JSC1_X1V_SHIFT) & 0xFFFF;
2552 axes[2] = ((js2 & JSC2_Y2V_MASK) >> JSC2_Y2V_SHIFT) & 0xFFFF;
2553 axes[3] = ((js2 & JSC2_X2V_MASK) >> JSC2_X2V_SHIFT) & 0xFFFF;
2556 if(axes[jst]==0xFFFF) axes[jst] = -1;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/trident/
H A Dtrident_main.c3079 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) argument
3090 axes[i] = inw(TRID_REG(chip, GAMEPORT_AXES + i * 2));
3091 if (axes[i] == 0xffff) axes[i] = -1;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/Micromax/Linux/lib/
H A Djfreechart-1.0.13.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jfree/ org/jfree/chart/ org/jfree/chart/annotations/ ...

Completed in 129 milliseconds