Searched refs:input_report_abs (Results 1 - 25 of 99) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/iforce/
H A Diforce-packets.c186 input_report_abs(dev, ABS_X, (__s16) (((__s16)data[1] << 8) | data[0]));
187 input_report_abs(dev, ABS_Y, (__s16) (((__s16)data[3] << 8) | data[2]));
188 input_report_abs(dev, ABS_THROTTLE, 255 - data[4]);
190 input_report_abs(dev, ABS_RUDDER, (__s8)data[7]);
192 input_report_abs(dev, ABS_WHEEL, (__s16) (((__s16)data[1] << 8) | data[0]));
193 input_report_abs(dev, ABS_GAS, 255 - data[2]);
194 input_report_abs(dev, ABS_BRAKE, 255 - data[3]);
197 input_report_abs(dev, ABS_HAT0X, iforce_hat_to_axis[data[6] >> 4].x);
198 input_report_abs(dev, ABS_HAT0Y, iforce_hat_to_axis[data[6] >> 4].y);
207 if (btns & 8) input_report_abs(de
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/joystick/
H A Dgrip.c207 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1));
208 input_report_abs(dev, ABS_Y, ((*data >> 13) & 1) - ((*data >> 12) & 1));
223 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f);
224 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f));
225 input_report_abs(dev, ABS_THROTTLE, (data[2] >> 8) & 0x3f);
227 input_report_abs(dev, ABS_HAT0X, ((data[2] >> 1) & 1) - ( data[2] & 1));
228 input_report_abs(dev, ABS_HAT0Y, ((data[2] >> 2) & 1) - ((data[2] >> 3) & 1));
242 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f);
243 input_report_abs(dev, ABS_Y, 63 - ((data[0] >> 8) & 0x3f));
244 input_report_abs(de
[all...]
H A Dmaplecontrol.c36 input_report_abs(dev, ABS_HAT0Y,
38 input_report_abs(dev, ABS_HAT0X,
40 input_report_abs(dev, ABS_HAT1Y,
42 input_report_abs(dev, ABS_HAT1X,
54 input_report_abs(dev, ABS_GAS, res[10]);
55 input_report_abs(dev, ABS_BRAKE, res[11]);
56 input_report_abs(dev, ABS_X, res[12]);
57 input_report_abs(dev, ABS_Y, res[13]);
58 input_report_abs(dev, ABS_RX, res[14]);
59 input_report_abs(de
[all...]
H A Ddb9.c283 input_report_abs(dev, db9_abs[5], data[j + 6]);
285 input_report_abs(dev, db9_abs[3], data[j + 4]);
286 input_report_abs(dev, db9_abs[4], data[j + 5]);
288 input_report_abs(dev, db9_abs[2], data[j + 3]);
291 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64));
292 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16));
297 input_report_abs(dev, db9_abs[0], !(data[j + 1] & 128) - !(data[j + 1] & 64));
298 input_report_abs(dev, db9_abs[1], !(data[j + 1] & 32) - !(data[j + 1] & 16));
301 input_report_abs(dev, db9_abs[2], data[j + 3]);
302 input_report_abs(de
[all...]
H A Dwarrior.c80 input_report_abs(dev, ABS_X, ((data[0] & 8) << 5) - (data[2] | ((data[0] & 4) << 5)));
81 input_report_abs(dev, ABS_Y, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7));
84 input_report_abs(dev, ABS_THROTTLE, (data[1] | ((data[0] & 1) << 7)) - ((data[0] & 2) << 7));
85 input_report_abs(dev, ABS_HAT0X, (data[3] & 2 ? 1 : 0) - (data[3] & 1 ? 1 : 0));
86 input_report_abs(dev, ABS_HAT0Y, (data[3] & 8 ? 1 : 0) - (data[3] & 4 ? 1 : 0));
H A Dzhenhua.c96 input_report_abs(dev, ABS_Y, data[1]);
97 input_report_abs(dev, ABS_X, data[2]);
98 input_report_abs(dev, ABS_RZ, data[3]);
99 input_report_abs(dev, ABS_Z, data[4]);
H A Dsidewinder.c316 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7));
317 input_report_abs(dev, ABS_Y, (GB( 0,3) << 7) | GB(24,7));
318 input_report_abs(dev, ABS_RZ, (GB(35,2) << 7) | GB(40,7));
319 input_report_abs(dev, ABS_THROTTLE, (GB(32,3) << 7) | GB(48,7));
321 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x);
322 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y);
341 input_report_abs(sw->dev[i], ABS_X, GB(i*15+3,1) - GB(i*15+2,1));
342 input_report_abs(sw->dev[i], ABS_Y, GB(i*15+0,1) - GB(i*15+1,1));
359 input_report_abs(dev, ABS_X, GB( 9,10));
360 input_report_abs(de
[all...]
H A Dwalkera0701.c116 input_report_abs(w->input_dev, ABS_X, val2);
117 input_report_abs(w->input_dev, ABS_Y, val1);
118 input_report_abs(w->input_dev, ABS_Z, val6);
119 input_report_abs(w->input_dev, ABS_THROTTLE, val3);
120 input_report_abs(w->input_dev, ABS_RUDDER, val4);
121 input_report_abs(w->input_dev, ABS_MISC, val7);
H A Da3d.c153 input_report_abs(dev, ABS_X, ((signed char)((data[15] << 6) | (data[16] << 3) | (data[17]))) + 128);
154 input_report_abs(dev, ABS_Y, ((signed char)((data[18] << 6) | (data[19] << 3) | (data[20]))) + 128);
155 input_report_abs(dev, ABS_RUDDER, ((signed char)((data[21] << 6) | (data[22] << 3) | (data[23]))) + 128);
156 input_report_abs(dev, ABS_THROTTLE, ((signed char)((data[24] << 6) | (data[25] << 3) | (data[26]))) + 128);
158 input_report_abs(dev, ABS_HAT0X, ( data[5] & 1) - ((data[5] >> 2) & 1));
159 input_report_abs(dev, ABS_HAT0Y, ((data[5] >> 1) & 1) - ((data[6] >> 2) & 1));
160 input_report_abs(dev, ABS_HAT1X, ((data[4] >> 1) & 1) - ( data[3] & 1));
161 input_report_abs(dev, ABS_HAT1Y, ((data[4] >> 2) & 1) - ( data[4] & 1));
H A Dxpad.c294 input_report_abs(dev, ABS_X,
296 input_report_abs(dev, ABS_Y,
300 input_report_abs(dev, ABS_RX,
302 input_report_abs(dev, ABS_RY,
311 input_report_abs(dev, ABS_Z, data[10]);
312 input_report_abs(dev, ABS_RZ, data[11]);
323 input_report_abs(dev, ABS_HAT0X,
325 input_report_abs(dev, ABS_HAT0Y,
371 input_report_abs(dev, ABS_HAT0X,
373 input_report_abs(de
[all...]
H A Dgamecon.c248 input_report_abs(dev, ABS_X, x);
249 input_report_abs(dev, ABS_Y, -y);
251 input_report_abs(dev, ABS_HAT0X,
253 input_report_abs(dev, ABS_HAT0Y,
396 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7]));
397 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5]));
407 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7]));
408 input_report_abs(dev, ABS_Y, !(s & data[4]) - !(s & data[5]));
506 input_report_abs(dev, ABS_X,
508 input_report_abs(de
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/usb/caiaq/
H A Dinput.c151 input_report_abs(input_dev, ABS_X, (buf[4] << 8) | buf[5]);
152 input_report_abs(input_dev, ABS_Y, (buf[0] << 8) | buf[1]);
153 input_report_abs(input_dev, ABS_Z, (buf[2] << 8) | buf[3]);
157 input_report_abs(input_dev, ABS_X, (buf[0] << 8) | buf[1]);
158 input_report_abs(input_dev, ABS_Y, (buf[2] << 8) | buf[3]);
159 input_report_abs(input_dev, ABS_Z, (buf[4] << 8) | buf[5]);
164 input_report_abs(input_dev, ABS_X, (buf[0] << 8) | buf[1]);
165 input_report_abs(input_dev, ABS_Y, (buf[2] << 8) | buf[3]);
166 input_report_abs(input_dev, ABS_Z, (buf[4] << 8) | buf[5]);
170 input_report_abs(input_de
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/tablet/
H A Dwacom_wac.c29 input_report_abs(input, ABS_MISC, wacom->id[0]); /* report tool id */
30 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1]));
31 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3]));
32 input_report_abs(input, ABS_PRESSURE, (signed char)data[6] + 127);
37 input_report_abs(input, ABS_MISC, 0); /* report tool id */
38 input_report_abs(input, ABS_PRESSURE, -1);
45 input_report_abs(input, ABS_MISC, STYLUS_DEVICE_ID); /* report tool id */
46 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1]));
47 input_report_abs(input, ABS_Y, get_unaligned_le16(&data[3]));
48 input_report_abs(inpu
[all...]
H A Dgtco.c660 input_report_abs(inputdev, ABS_PRESSURE,
679 input_report_abs(inputdev, ABS_TILT_X, (s32)valsigned);
682 input_report_abs(inputdev, ABS_TILT_Y, (s32)valsigned);
698 input_report_abs(inputdev, ABS_X, val);
701 input_report_abs(inputdev, ABS_Y, val);
705 input_report_abs(inputdev, ABS_DISTANCE, val);
756 input_report_abs(inputdev, ABS_X, val);
765 input_report_abs(inputdev, ABS_Y, val);
775 input_report_abs(inputdev, ABS_X, val);
778 input_report_abs(inputde
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/mouse/
H A Dtouchkit_ps2.c61 input_report_abs(dev, ABS_X, TOUCHKIT_GET_X(packet));
62 input_report_abs(dev, ABS_Y, TOUCHKIT_GET_Y(packet));
H A Dlifebook.c176 input_report_abs(dev1, ABS_X,
178 input_report_abs(dev1, ABS_Y,
181 input_report_abs(dev1, ABS_X,
183 input_report_abs(dev1, ABS_Y,
H A Delantech.c222 input_report_abs(dev, ABS_X,
224 input_report_abs(dev, ABS_Y,
273 input_report_abs(dev, ABS_X,
279 input_report_abs(dev, ABS_Y,
304 input_report_abs(dev, ABS_X, x1 << 2);
305 input_report_abs(dev, ABS_Y, y1 << 2);
310 input_report_abs(dev, ABS_HAT0X, x1);
311 input_report_abs(dev, ABS_HAT0Y, y1);
312 input_report_abs(dev, ABS_HAT1X, x2);
313 input_report_abs(de
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/touchscreen/
H A Delo.c102 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]);
103 input_report_abs(dev, ABS_Y, (elo->data[6] << 8) | elo->data[5]);
105 input_report_abs(dev, ABS_PRESSURE,
151 input_report_abs(dev, ABS_X, ((elo->data[0] & 0x3f) << 6) | (elo->data[1] & 0x3f));
152 input_report_abs(dev, ABS_Y, ((elo->data[2] & 0x3f) << 6) | (elo->data[3] & 0x3f));
171 input_report_abs(dev, ABS_PRESSURE, elo->data[5]);
194 input_report_abs(dev, ABS_X, elo->data[1]);
195 input_report_abs(dev, ABS_Y, elo->data[2]);
H A Dzylonite-wm97xx.c132 input_report_abs(wm->input_dev, ABS_X, x & 0xfff);
133 input_report_abs(wm->input_dev, ABS_Y, y & 0xfff);
134 input_report_abs(wm->input_dev, ABS_PRESSURE, p & 0xfff);
H A Dhp680_ts_input.c58 input_report_abs(hp680_ts_dev, ABS_X, absx);
59 input_report_abs(hp680_ts_dev, ABS_Y, absy);
H A D88pm860x-ts.c75 input_report_abs(touch->idev, ABS_X, x);
76 input_report_abs(touch->idev, ABS_Y, y);
77 input_report_abs(touch->idev, ABS_PRESSURE, rt);
81 input_report_abs(touch->idev, ABS_PRESSURE, 0);
H A Dpcap_ts.c61 input_report_abs(pcap_ts->input, ABS_PRESSURE, 0);
68 input_report_abs(pcap_ts->input, ABS_X, pcap_ts->x);
69 input_report_abs(pcap_ts->input, ABS_Y, pcap_ts->y);
71 input_report_abs(pcap_ts->input, ABS_PRESSURE,
H A Datmel-wm97xx.c176 input_report_abs(wm->input_dev, ABS_X, atmel_wm97xx->x);
177 input_report_abs(wm->input_dev, ABS_Y, atmel_wm97xx->y);
181 input_report_abs(wm->input_dev, ABS_X, atmel_wm97xx->x);
182 input_report_abs(wm->input_dev, ABS_Y, atmel_wm97xx->y);
183 input_report_abs(wm->input_dev, ABS_PRESSURE, value);
205 input_report_abs(input_dev, ABS_PRESSURE, 0);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/ams/
H A Dams-input.c45 input_report_abs(idev, ABS_X, invert ? -x : x);
46 input_report_abs(idev, ABS_Y, invert ? -y : y);
47 input_report_abs(idev, ABS_Z, z);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hid/
H A Dhid-magicmouse.c231 input_report_abs(input, ABS_MT_TRACKING_ID, id);
232 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tdata[3]);
233 input_report_abs(input, ABS_MT_TOUCH_MINOR, tdata[4]);
234 input_report_abs(input, ABS_MT_ORIENTATION, orientation);
235 input_report_abs(input, ABS_MT_POSITION_X, x);
236 input_report_abs(input, ABS_MT_POSITION_Y, y);

Completed in 188 milliseconds

1234