/linux-2.4.37.9/drivers/hil/ |
D | hil_ptr.c | 150 if (val < ptr->dev.absmin[ABS_X + i]) in hil_ptr_process_record() 151 ptr->dev.absmin[ABS_X + i] = val; in hil_ptr_process_record() 152 if (val > ptr->dev.absmax[ABS_X + i]) in hil_ptr_process_record() 153 ptr->dev.absmax[ABS_X + i] = val; in hil_ptr_process_record() 155 if (i%3) val = ptr->dev.absmax[ABS_X + i] - val; in hil_ptr_process_record() 156 input_report_abs(dev, ABS_X + i, val); in hil_ptr_process_record() 346 set_bit(ABS_X + i, ptr->dev.absbit); in hil_ptr_connect() 347 ptr->dev.absmin[ABS_X + i] = 0; in hil_ptr_connect() 348 ptr->dev.absmax[ABS_X + i] = in hil_ptr_connect() 352 set_bit(ABS_X + i, ptr->dev.absbit); in hil_ptr_connect() [all …]
|
/linux-2.4.37.9/drivers/char/joystick/ |
D | db9.c | 117 input_report_abs(dev + 1, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 125 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 134 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 143 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 154 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 171 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 191 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 236 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 252 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 356 db9->dev[i].absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in db9_probe() [all …]
|
D | stinger.c | 82 input_report_abs(dev, ABS_X, (data[1] & 0x3F) - ((data[0] & 0x01) << 6)); in stinger_process_packet() 146 stinger->dev.absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in stinger_connect() 155 stinger->dev.absmax[ABS_X+i] = 64; in stinger_connect() 156 stinger->dev.absmin[ABS_X+i] = -64; in stinger_connect() 157 stinger->dev.absflat[ABS_X+i] = 4; in stinger_connect()
|
D | warrior.c | 78 input_report_abs(dev, ABS_X, ((data[0] & 8) << 5) - (data[2] | ((data[0] & 4) << 5))); in warrior_process_packet() 150 …warrior->dev.absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_THROTTLE) | BIT(ABS_HAT0X) | BIT(ABS_HA… in warrior_connect() 159 warrior->dev.absmax[ABS_X+i] = -64; in warrior_connect() 160 warrior->dev.absmin[ABS_X+i] = 64; in warrior_connect() 161 warrior->dev.absflat[ABS_X+i] = 8; in warrior_connect()
|
D | gamecon.c | 233 static short gc_psx_abs[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_HAT0X, ABS_HAT0Y }; 324 input_report_abs(dev + i, ABS_X, axes[0]); in gc_timer() 349 input_report_abs(dev + i, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_timer() 376 input_report_abs(dev + i, ABS_X, !(s & data[2]) - !(s & data[3])); in gc_timer() 422 input_report_abs(dev + i, ABS_X, 128 + !(data[0] & 0x20) * 127 - !(data[0] & 0x80) * 128); in gc_timer() 512 set_bit(ABS_X + j, gc->dev[i].absbit); in gc_probe() 513 gc->dev[i].absmin[ABS_X + j] = -1; in gc_probe() 514 gc->dev[i].absmax[ABS_X + j] = 1; in gc_probe() 527 set_bit(ABS_X + j, gc->dev[i].absbit); in gc_probe() 528 gc->dev[i].absmin[ABS_X + j] = -127; in gc_probe() [all …]
|
D | amijoy.c | 67 input_report_abs(amijoy_dev + i, ABS_X, ((data >> 1) & 1) - ((data >> 9) & 1)); in amijoy_interrupt() 128 amijoy_dev[i].absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in amijoy_init() 131 amijoy_dev[i].absmin[ABS_X + j] = -1; in amijoy_init() 132 amijoy_dev[i].absmax[ABS_X + j] = 1; in amijoy_init()
|
D | grip.c | 69 static int grip_abs_gpp[] = { ABS_X, ABS_Y, -1 }; 70 static int grip_abs_bd[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 71 static int grip_abs_xt[] = { ABS_X, ABS_Y, ABS_BRAKE, ABS_GAS, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, … 72 static int grip_abs_dc[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 206 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1)); in grip_timer() 222 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_timer() 241 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_timer() 263 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_timer()
|
D | sidewinder.c | 84 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 85 { ABS_X, ABS_Y }, 86 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 87 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 88 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 311 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7)); in sw_parse() 333 input_report_abs(dev + i, ABS_X, GB(i*15+3,1) - GB(i*15+2,1)); in sw_parse() 347 input_report_abs(dev, ABS_X, GB( 9,10)); in sw_parse() 364 input_report_abs(dev, ABS_X, GB( 0,10)); in sw_parse()
|
D | turbografx.c | 95 input_report_abs(dev, ABS_X, !!(data1 & TGFX_RIGHT) - !!(data1 & TGFX_LEFT)); in tgfx_timer() 184 tgfx->dev[i].absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in tgfx_probe() 189 tgfx->dev[i].absmin[ABS_X] = -1; tgfx->dev[i].absmax[ABS_X] = 1; in tgfx_probe()
|
D | cobra.c | 130 input_report_abs(dev, ABS_X, ((data[i] >> 4) & 1) - ((data[i] >> 3) & 1)); in cobra_timer() 202 cobra->dev[i].absbit[0] = BIT(ABS_X) | BIT(ABS_Y); in cobra_connect() 207 cobra->dev[i].absmin[ABS_X] = -1; cobra->dev[i].absmax[ABS_X] = 1; in cobra_connect()
|
D | a3d.c | 150 …input_report_abs(dev, ABS_X, ((signed char)((data[15] << 6) | (data[16] << 3) | (data[17]))… in a3d_read() 290 int axes[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER }; in a3d_connect() 296 a3d->dev.absbit[0] |= BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_THROTTLE) | BIT(ABS_RUDDER) in a3d_connect()
|
D | adi.c | 76 static char adi_wmgpe_abs[] = { ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y }; 77 static char adi_wmi_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, ABS_HAT1X, ABS_HAT1… 78 static char adi_wmed3d_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RZ, ABS_HAT0X, ABS_HAT0Y }; 79 static char adi_cm2_abs[] = { ABS_X, ABS_Y, ABS_Z, ABS_RX, ABS_RY, ABS_RZ };
|
D | tmdc.c | 68 { ABS_X, ABS_Y, ABS_RUDDER, ABS_THROTTLE, ABS_RX, ABS_RY, ABS_RZ }; 72 { ABS_X, ABS_Y, ABS_RUDDER, -1, ABS_THROTTLE }; 74 { ABS_RX, ABS_RY, ABS_X, ABS_Y };
|
D | interact.c | 64 { ABS_RX, ABS_RY, ABS_X, ABS_Y, ABS_HAT0X, ABS_HAT0Y, -1 }; 66 { ABS_X, ABS_Y, -1 };
|
D | magellan.c | 47 static int magellan_axes[] = { ABS_X, ABS_Y, ABS_Z, ABS_RX, ABS_RY, ABS_RZ};
|
D | spaceball.c | 49 static int spaceball_axes[] = { ABS_X, ABS_Z, ABS_Y, ABS_RX, ABS_RZ, ABS_RY };
|
D | spaceorb.c | 50 static int spaceorb_axes[] = { ABS_X, ABS_Y, ABS_Z, ABS_RX, ABS_RY, ABS_RZ};
|
D | iforce.c | 97 static signed short abs_joystick[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 257 input_report_abs(dev, ABS_X, (__s16) (((__s16)data[1] << 8) | data[0])); in iforce_process_packet() 723 switch ((test_bit(ABS_X, &effect->u.interactive.axis) || in iforce_upload_interactive() 953 case ABS_X: in iforce_init_device()
|
D | gf2k.c | 71 static unsigned char gf2k_abs[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_GAS, ABS_BRAKE };
|
/linux-2.4.37.9/drivers/usb/ |
D | kbtab.c | 54 input_report_abs(dev, ABS_X, tab->x); in kbtab_irq() 105 kbtab->dev.absbit[0] |= BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); in kbtab_probe() 112 kbtab->dev.absmax[ABS_X] = 0x2000; in kbtab_probe() 117 kbtab->dev.absfuzz[ABS_X] = 4; in kbtab_probe()
|
D | wacom.c | 138 input_report_abs(dev, ABS_X, data[3] | ((__u32)data[2] << 8) | ((__u32)(data[1] & 0x03) << 16)); in wacom_pl_irq() 167 input_report_abs(dev, ABS_X, x); in wacom_penpartner_irq() 211 input_report_abs(dev, ABS_X, x); in wacom_graphire_irq() 219 input_report_abs(dev, ABS_X, x); in wacom_graphire_irq() 286 input_report_abs(dev, ABS_X, ((__u32)data[2] << 8) | data[3]); in wacom_intuos_irq() 446 …wacom->dev.absbit[0] |= BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE) | BIT(ABS_DISTANCE) | BIT(ABS_… in wacom_probe() 453 wacom->dev.absmax[ABS_X] = wacom->features->x_max; in wacom_probe() 466 wacom->dev.absfuzz[ABS_X] = 4; in wacom_probe()
|
D | aiptek.c | 593 input_report_abs(dev, ABS_X, x); in aiptek_irq() 660 input_report_abs(dev, ABS_X, x); in aiptek_irq() 1242 aiptek->dev.absbit[0] |= BIT(ABS_X) in aiptek_probe() 1277 aiptek->dev.absmax[ABS_X] = aiptek->features->x_max; in aiptek_probe() 1282 aiptek->dev.absfuzz[ABS_X] = 0; in aiptek_probe()
|
/linux-2.4.37.9/drivers/input/ |
D | mousedev.c | 102 case ABS_X: in mousedev_event() 103 size = handle->dev->absmax[ABS_X] - handle->dev->absmin[ABS_X]; in mousedev_event() 419 (!test_bit(EV_ABS, dev->evbit) || !test_bit(ABS_X, dev->absbit))) in mousedev_connect()
|
/linux-2.4.37.9/Documentation/input/ |
D | input-programming.txt | 173 the ABS_X axis: 175 button_dev.absmin[ABS_X] = 0; 176 button_dev.absmax[ABS_X] = 255; 177 button_dev.absfuzz[ABS_X] = 4; 178 button_dev.absflat[ABS_X] = 8;
|
/linux-2.4.37.9/include/linux/ |
D | input.h | 398 #define ABS_X 0x00 macro
|