Home
last modified time | relevance | path

Searched refs:scroll_accel (Results 1 – 12 of 12) sorted by relevance

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hid/
H A Dhid-magicmouse.c121 int scroll_accel; member
194 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_emit_buttons()
261 msc->scroll_accel = max_t(int, in magicmouse_emit_touch()
262 msc->scroll_accel - 1, 1); in magicmouse_emit_touch()
264 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_emit_touch()
268 step_x /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
271 (64 - scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
276 step_y /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
279 (64 - scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
704 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_probe()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hid/
H A Dhid-magicmouse.c121 int scroll_accel; member
194 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_emit_buttons()
261 msc->scroll_accel = max_t(int, in magicmouse_emit_touch()
262 msc->scroll_accel - 1, 1); in magicmouse_emit_touch()
264 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_emit_touch()
268 step_x /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
271 (64 - scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
276 step_y /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
279 (64 - scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
704 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_probe()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hid/
H A Dhid-magicmouse.c121 int scroll_accel; member
194 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_emit_buttons()
261 msc->scroll_accel = max_t(int, in magicmouse_emit_touch()
262 msc->scroll_accel - 1, 1); in magicmouse_emit_touch()
264 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_emit_touch()
268 step_x /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
271 (64 - scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
276 step_y /= (64 - (int)scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
279 (64 - scroll_speed) * msc->scroll_accel; in magicmouse_emit_touch()
704 msc->scroll_accel = SCROLL_ACCEL_DEFAULT; in magicmouse_probe()
/dports/audio/avldrums-lv2/avldrums.lv2-0.4.2/robtk/widgets/
H A Drobtk_dial.h52 float scroll_accel; member
385 d->scroll_accel = 1.0; in robtk_dial_leave_notify()
403 if (abs(d->scroll_accel_thresh) > ACCEL_THRESH && d->scroll_accel < 4) { in robtk_dial_scroll()
404 d->scroll_accel += .025; in robtk_dial_scroll()
408 d->scroll_accel = 1.0; in robtk_dial_scroll()
415 d->scroll_accel = 1.0; in robtk_dial_scroll()
426 d->scroll_accel = 1.0; in robtk_dial_scroll()
430 val += delta * d->scroll_accel; in robtk_dial_scroll()
436 d->scroll_accel = 1.0; in robtk_dial_scroll()
440 val -= delta * d->scroll_accel; in robtk_dial_scroll()
[all …]
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/robtk/widgets/
H A Drobtk_dial.h52 float scroll_accel; member
385 d->scroll_accel = 1.0; in robtk_dial_leave_notify()
403 if (abs(d->scroll_accel_thresh) > ACCEL_THRESH && d->scroll_accel < 4) { in robtk_dial_scroll()
404 d->scroll_accel += .025; in robtk_dial_scroll()
408 d->scroll_accel = 1.0; in robtk_dial_scroll()
415 d->scroll_accel = 1.0; in robtk_dial_scroll()
426 d->scroll_accel = 1.0; in robtk_dial_scroll()
430 val += delta * d->scroll_accel; in robtk_dial_scroll()
436 d->scroll_accel = 1.0; in robtk_dial_scroll()
440 val -= delta * d->scroll_accel; in robtk_dial_scroll()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/menu/cbs/
H A Dmenu_cbs_left.c227 size_t scroll_accel = 0; in action_left_scroll() local
231 if (!menu_driver_ctl(MENU_NAVIGATION_CTL_GET_SCROLL_ACCEL, &scroll_accel)) in action_left_scroll()
234 scroll_speed = (unsigned)((MAX(scroll_accel, 2) - 2) / 4 + 1); in action_left_scroll()
H A Dmenu_cbs_right.c239 size_t scroll_accel = 0; in action_right_scroll() local
243 if (!menu_driver_ctl(MENU_NAVIGATION_CTL_GET_SCROLL_ACCEL, &scroll_accel)) in action_right_scroll()
246 scroll_speed = (unsigned)((MAX(scroll_accel, 2) - 2) / 4 + 1); in action_right_scroll()
/dports/graphics/xfig/xfig-3.2.8a/src/
H A Dw_util.c2185 static char scroll_accel[] = variable
2225 scroll_acceltable = XtParseAcceleratorTable(scroll_accel); in _installscroll()
/dports/www/links/links-2.25/
H A Dsvgalib.c1162 static int scroll_accel(struct graphics_device *dev, struct rect_set **ignore, int scx, int scy) in scroll_accel() function
1495 svga_driver.scroll = scroll_accel; in setup_functions()
/dports/games/retroarch/RetroArch-1.9.7/menu/drivers/
H A Dxmb.c3910 size_t scroll_accel = 0; in xmb_parse_menu_entry_action() local
3917 &scroll_accel); in xmb_parse_menu_entry_action()
3919 if (scroll_accel > 0) in xmb_parse_menu_entry_action()
H A Dmaterialui.c8768 size_t scroll_accel = 0; in materialui_parse_menu_entry_action() local
8775 &scroll_accel); in materialui_parse_menu_entry_action()
8777 if (scroll_accel > 0) in materialui_parse_menu_entry_action()
/dports/games/retroarch/RetroArch-1.9.7/
H A Dretroarch.c2455 size_t scroll_accel = menu_st->scroll.acceleration; in generic_menu_entry_action() local
2472 unsigned scroll_speed = (unsigned)((MAX(scroll_accel, 2) - 2) / 4 + 1); in generic_menu_entry_action()
2496 unsigned scroll_speed = (unsigned)((MAX(scroll_accel, 2) - 2) / 4 + 1); in generic_menu_entry_action()