Home
last modified time | relevance | path

Searched refs:absmax (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.4.37.9/drivers/usb/
Dwacom.c453 wacom->dev.absmax[ABS_X] = wacom->features->x_max; in wacom_probe()
454 wacom->dev.absmax[ABS_Y] = wacom->features->y_max; in wacom_probe()
455 wacom->dev.absmax[ABS_PRESSURE] = wacom->features->pressure_max; in wacom_probe()
456 wacom->dev.absmax[ABS_DISTANCE] = wacom->features->distance_max; in wacom_probe()
457 wacom->dev.absmax[ABS_TILT_X] = 127; in wacom_probe()
458 wacom->dev.absmax[ABS_TILT_Y] = 127; in wacom_probe()
459 wacom->dev.absmax[ABS_WHEEL] = 1023; in wacom_probe()
462 wacom->dev.absmax[ABS_RZ] = 899; in wacom_probe()
464 wacom->dev.absmax[ABS_THROTTLE] = 1023; in wacom_probe()
Dkbtab.c112 kbtab->dev.absmax[ABS_X] = 0x2000; in kbtab_probe()
113 kbtab->dev.absmax[ABS_Y] = 0x1750; in kbtab_probe()
115 kbtab->dev.absmax[ABS_PRESSURE] = 0xff; in kbtab_probe()
Daiptek.c1277 aiptek->dev.absmax[ABS_X] = aiptek->features->x_max; in aiptek_probe()
1278 aiptek->dev.absmax[ABS_Y] = aiptek->features->y_max; in aiptek_probe()
1279 aiptek->dev.absmax[ABS_PRESSURE] = aiptek->features->pressure_max; in aiptek_probe()
1280 aiptek->dev.absmax[ABS_TILT_X] = AIPTEK_TILT_MAX; in aiptek_probe()
1281 aiptek->dev.absmax[ABS_TILT_Y] = AIPTEK_TILT_MAX; in aiptek_probe()
Dhid-input.c319 input->absmax[usage->code] = b; in hidinput_configure_usage()
332 input->absmax[i] = 1; in hidinput_configure_usage()
/linux-2.4.37.9/drivers/hil/
Dhil_ptr.c152 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()
348 ptr->dev.absmax[ABS_X + i] = in hil_ptr_connect()
354 ptr->dev.absmax[ABS_X + i] = in hil_ptr_connect()
359 int diff = ptr->dev.absmax[ABS_X + i] / 10; in hil_ptr_connect()
361 ptr->dev.absmax[ABS_X + i] -= diff; in hil_ptr_connect()
/linux-2.4.37.9/drivers/input/
Duinput.c146 (dev->absmax[cnt] <= dev->absmin[cnt])) { in uinput_validate_absbits()
150 dev->absmin[cnt], dev->absmax[cnt]); in uinput_validate_absbits()
156 (dev->absflat[cnt] > dev->absmax[cnt])) { in uinput_validate_absbits()
161 dev->absmin[cnt], dev->absmax[cnt]); in uinput_validate_absbits()
211 memcpy(dev->absmax, user_dev->absmax, size); in uinput_alloc_device()
Djoydev.c477 if (dev->absmax[j] == dev->absmin[j]) { in joydev_connect()
483 joydev->corr[i].coef[0] = (dev->absmax[j] + dev->absmin[j]) / 2 - dev->absflat[j]; in joydev_connect()
484 joydev->corr[i].coef[1] = (dev->absmax[j] + dev->absmin[j]) / 2 + dev->absflat[j]; in joydev_connect()
485 if (!(t = ((dev->absmax[j] - dev->absmin[j]) / 2 - 2 * dev->absflat[j]))) in joydev_connect()
Dmousedev.c103 size = handle->dev->absmax[ABS_X] - handle->dev->absmin[ABS_X]; in mousedev_event()
108 size = handle->dev->absmax[ABS_Y] - handle->dev->absmin[ABS_Y]; in mousedev_event()
/linux-2.4.37.9/drivers/char/joystick/
Dwarrior.c159 warrior->dev.absmax[ABS_X+i] = -64; in warrior_connect()
164 warrior->dev.absmax[ABS_THROTTLE] = -112; in warrior_connect()
168 warrior->dev.absmax[ABS_HAT0X+i] = -1; in warrior_connect()
Dgamecon.c514 gc->dev[i].absmax[ABS_X + j] = 1; in gc_probe()
529 gc->dev[i].absmax[ABS_X + j] = 126; in gc_probe()
533 gc->dev[i].absmax[ABS_HAT0X + j] = 1; in gc_probe()
567 gc->dev[i].absmax[psx] = 252; in gc_probe()
571 gc->dev[i].absmax[psx] = 1; in gc_probe()
Da3d.c309 a3d->dev.absmax[axes[i]] = a3d->dev.abs[axes[i]] * 2 - 48; in a3d_connect()
313 a3d->dev.absmax[axes[i]] = 253; in a3d_connect()
316 a3d->dev.absmax[ABS_HAT0X + i] = 1; in a3d_connect()
Dgrip.c362 grip->dev[i].absmax[t] = 52; in grip_connect()
370 grip->dev[i].absmax[t] = 57; in grip_connect()
376 grip->dev[i].absmax[t] = 1; in grip_connect()
Dinteract.c262 interact->dev.absmax[t] = 255; in interact_connect()
265 interact->dev.absmax[t] = 1; in interact_connect()
Dturbografx.c189 tgfx->dev[i].absmin[ABS_X] = -1; tgfx->dev[i].absmax[ABS_X] = 1; in tgfx_probe()
190 tgfx->dev[i].absmin[ABS_Y] = -1; tgfx->dev[i].absmax[ABS_Y] = 1; in tgfx_probe()
Dcobra.c207 cobra->dev[i].absmin[ABS_X] = -1; cobra->dev[i].absmax[ABS_X] = 1; in cobra_connect()
208 cobra->dev[i].absmin[ABS_Y] = -1; cobra->dev[i].absmax[ABS_Y] = 1; in cobra_connect()
Dadi.c445 adi->dev.absmax[t] = x * 2 - 64; in adi_init_center()
453 adi->dev.absmax[t] = x * 2 - 48; in adi_init_center()
460 adi->dev.absmax[t] = 1; in adi_init_center()
Dgf2k.c305 gf2k->dev.absmax[ABS_HAT0X + i] = 1; in gf2k_connect()
318 gf2k->dev.absmax[gf2k_abs[i]] = (i < 2) ? gf2k->dev.abs[gf2k_abs[i]] * 2 - 32 : in gf2k_connect()
Damijoy.c132 amijoy_dev[i].absmax[ABS_X + j] = 1; in amijoy_init()
Dmagellan.c162 magellan->dev.absmax[t] = 360; in magellan_connect()
Dstinger.c155 stinger->dev.absmax[ABS_X+i] = 64; in stinger_connect()
Dtmdc.c321 tmdc->dev[j].absmax[tmdc->abs[j][i]] = 248; in tmdc_connect()
329 tmdc->dev[j].absmax[tmdc_abs_hat[i]] = 1; in tmdc_connect()
Dspaceball.c186 spaceball->dev.absmax[t] = i < 3 ? 8000 : 1600; in spaceball_connect()
Dspaceorb.c177 spaceorb->dev.absmax[t] = 508; in spaceorb_connect()
Ddb9.c361 db9->dev[i].absmin[ABS_X] = -1; db9->dev[i].absmax[ABS_X] = 1; in db9_probe()
362 db9->dev[i].absmin[ABS_Y] = -1; db9->dev[i].absmax[ABS_Y] = 1; in db9_probe()
/linux-2.4.37.9/include/linux/
Duinput.h74 int absmax[ABS_MAX + 1]; member

12