Home
last modified time | relevance | path

Searched refs:wheel (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/samples/uhid/
H A Duhid-example.c14 * This example emulates a basic 3 buttons mouse with wheel over UHID. Run this
24 * r: Move wheel up
25 * f: Move wheel down
53 * We emulate a basic 3 button mouse with wheel and 3 keyboard LEDs. This is
276 static signed char wheel; variable
296 ev.u.input.data[4] = wheel; in send_event()
364 wheel = 1; in keyboard()
366 wheel = 0; in keyboard()
371 wheel = -1; in keyboard()
373 wheel in keyboard()
[all...]
/kernel/linux/linux-6.6/samples/uhid/
H A Duhid-example.c14 * This example emulates a basic 3 buttons mouse with wheel over UHID. Run this
24 * r: Move wheel up
25 * f: Move wheel down
53 * We emulate a basic 3 button mouse with wheel and 3 keyboard LEDs. This is
276 static signed char wheel; variable
296 ev.u.input.data[4] = wheel; in send_event()
364 wheel = 1; in keyboard()
366 wheel = 0; in keyboard()
371 wheel = -1; in keyboard()
373 wheel in keyboard()
[all...]
/kernel/linux/linux-5.10/sound/isa/gus/
H A Dgus_volume.c150 int wheel, sensitivity;
158 wheel = (int) pitchbend - 8192;
159 sensitivity = ((int) sens * wheel) / 128;
/kernel/linux/linux-6.6/sound/isa/gus/
H A Dgus_volume.c150 int wheel, sensitivity;
158 wheel = (int) pitchbend - 8192;
159 sensitivity = ((int) sens * wheel) / 128;
/kernel/linux/linux-5.10/drivers/input/tablet/
H A Daiptek.c278 int wheel; /* synthetic wheel amount */ member
487 if (aiptek->curSetting.wheel != AIPTEK_WHEEL_DISABLE) { in aiptek_irq()
489 aiptek->curSetting.wheel); in aiptek_irq()
490 aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE; in aiptek_irq()
568 if (aiptek->curSetting.wheel != in aiptek_irq()
572 aiptek->curSetting.wheel); in aiptek_irq()
573 aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE; in aiptek_irq()
632 if (aiptek->curSetting.wheel != AIPTEK_WHEEL_DISABLE) { in aiptek_irq()
635 aiptek->curSetting.wheel); in aiptek_irq()
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dad714x.c108 * Unlike slider/wheel/touchpad, all buttons point to
116 struct ad714x_wheel_drv *wheel; member
401 * When the scroll wheel is activated, we compute the absolute position based
409 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; in ad714x_wheel_cal_highest_stage()
410 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_highest_stage()
416 dev_dbg(ad714x->dev, "wheel %d highest_stage:%d\n", idx, in ad714x_wheel_cal_highest_stage()
422 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; in ad714x_wheel_cal_sensor_val()
441 * When the scroll wheel is activated, we compute the absolute position based
451 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; in ad714x_wheel_cal_abs_pos()
452 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[id in ad714x_wheel_cal_abs_pos()
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dad714x.c108 * Unlike slider/wheel/touchpad, all buttons point to
116 struct ad714x_wheel_drv *wheel; member
401 * When the scroll wheel is activated, we compute the absolute position based
409 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; in ad714x_wheel_cal_highest_stage()
410 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[idx]; in ad714x_wheel_cal_highest_stage()
416 dev_dbg(ad714x->dev, "wheel %d highest_stage:%d\n", idx, in ad714x_wheel_cal_highest_stage()
422 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; in ad714x_wheel_cal_sensor_val()
441 * When the scroll wheel is activated, we compute the absolute position based
451 struct ad714x_wheel_plat *hw = &ad714x->hw->wheel[idx]; in ad714x_wheel_cal_abs_pos()
452 struct ad714x_wheel_drv *sw = &ad714x->sw->wheel[id in ad714x_wheel_cal_abs_pos()
[all...]
/kernel/linux/linux-6.6/drivers/input/tablet/
H A Daiptek.c278 int wheel; /* synthetic wheel amount */ member
487 if (aiptek->curSetting.wheel != AIPTEK_WHEEL_DISABLE) { in aiptek_irq()
489 aiptek->curSetting.wheel); in aiptek_irq()
490 aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE; in aiptek_irq()
568 if (aiptek->curSetting.wheel != in aiptek_irq()
572 aiptek->curSetting.wheel); in aiptek_irq()
573 aiptek->curSetting.wheel = AIPTEK_WHEEL_DISABLE; in aiptek_irq()
632 if (aiptek->curSetting.wheel != AIPTEK_WHEEL_DISABLE) { in aiptek_irq()
635 aiptek->curSetting.wheel); in aiptek_irq()
[all...]
/kernel/linux/linux-5.10/include/linux/input/
H A Dad714x.h55 struct ad714x_wheel_plat *wheel; member
/kernel/linux/linux-6.6/include/linux/input/
H A Dad714x.h55 struct ad714x_wheel_plat *wheel; member
/kernel/linux/linux-5.10/sound/usb/usx2y/
H A Dusbus428ctldefs.h50 unsigned char wheel[5]; member
/kernel/linux/linux-6.6/sound/usb/usx2y/
H A Dusbus428ctldefs.h50 unsigned char wheel[5]; member
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-lg4ff.c173 /* Multimode wheel identificators */
216 /* Multimode wheel identification checklists */
368 /* Compute a combined axis when wheel does not supply it */ in lg4ff_raw_event()
377 static void lg4ff_init_wheel_data(struct lg4ff_wheel_data * const wdata, const struct lg4ff_wheel *wheel, in lg4ff_init_wheel_data() argument
392 struct lg4ff_wheel_data t_wdata = { .product_id = wheel->product_id, in lg4ff_init_wheel_data()
395 .min_range = wheel->min_range, in lg4ff_init_wheel_data()
396 .max_range = wheel->max_range, in lg4ff_init_wheel_data()
397 .set_range = wheel->set_range, in lg4ff_init_wheel_data()
618 /* Sends commands to set range compatible with Driving Force Pro wheel */
991 /* Export the currently set range of the wheel */
[all...]
H A Dhid-roccat-kone.h23 kone_keystroke_button_3 = 0xf2, /* wheel */
47 kone_button_info_type_button_3 = 0x3, /* scroll (wheel) */
154 uint8_t wheel; /* up = 1, down = -1 */ member
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-lg4ff.c173 /* Multimode wheel identificators */
216 /* Multimode wheel identification checklists */
368 /* Compute a combined axis when wheel does not supply it */ in lg4ff_raw_event()
377 static void lg4ff_init_wheel_data(struct lg4ff_wheel_data * const wdata, const struct lg4ff_wheel *wheel, in lg4ff_init_wheel_data() argument
392 struct lg4ff_wheel_data t_wdata = { .product_id = wheel->product_id, in lg4ff_init_wheel_data()
395 .min_range = wheel->min_range, in lg4ff_init_wheel_data()
396 .max_range = wheel->max_range, in lg4ff_init_wheel_data()
397 .set_range = wheel->set_range, in lg4ff_init_wheel_data()
618 /* Sends commands to set range compatible with Driving Force Pro wheel */
991 /* Export the currently set range of the wheel */
[all...]
H A Dhid-roccat-kone.h23 kone_keystroke_button_3 = 0xf2, /* wheel */
47 kone_button_info_type_button_3 = 0x3, /* scroll (wheel) */
154 uint8_t wheel; /* up = 1, down = -1 */ member
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py50 :param wheels: a single value for the vertical wheel or a (vertical, horizontal) tuple for
65 # Note: the BaseMouse doesn't actually have a wheel but the
68 wheel, acpan = 0, 0
71 wheel = wheels[0]
74 wheel = wheels
84 mouse.wheel = wheel
96 :param wheels: a single value for the vertical wheel or a (vertical, horizontal) tuple for
695 # check if the kernel is high res wheel compatible
745 # check if the kernel is high res wheel compatibl
[all...]
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dpsmouse-base.c71 MODULE_PARM_DESC(a4tech_workaround, "A4Tech second scroll wheel workaround, 1 = enabled, 0 = disabled (default).");
153 int wheel; in psmouse_process_byte() local
162 /* IntelliMouse has scroll wheel */ in psmouse_process_byte()
167 /* Scroll wheel and buttons on IntelliMouse Explorer */ in psmouse_process_byte()
179 wheel = sign_extend32(packet[3], 3); in psmouse_process_byte()
186 if (psmouse_a4tech_2wheels && abs(wheel) > 1) in psmouse_process_byte()
187 input_report_rel(dev, REL_HWHEEL, wheel / 2); in psmouse_process_byte()
189 input_report_rel(dev, REL_WHEEL, -wheel); in psmouse_process_byte()
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dpsmouse-base.c71 MODULE_PARM_DESC(a4tech_workaround, "A4Tech second scroll wheel workaround, 1 = enabled, 0 = disabled (default).");
158 int wheel; in psmouse_process_byte() local
167 /* IntelliMouse has scroll wheel */ in psmouse_process_byte()
172 /* Scroll wheel and buttons on IntelliMouse Explorer */ in psmouse_process_byte()
184 wheel = sign_extend32(packet[3], 3); in psmouse_process_byte()
191 if (psmouse_a4tech_2wheels && abs(wheel) > 1) in psmouse_process_byte()
192 input_report_rel(dev, REL_HWHEEL, wheel / 2); in psmouse_process_byte()
194 input_report_rel(dev, REL_WHEEL, -wheel); in psmouse_process_byte()

Completed in 19 milliseconds