• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/atkbdc/

Lines Matching defs:gest

3772 	gesture_t *gest;
3778 gest = &sc->gesture;
3849 gest->window_min = window_min;
3852 gest->zmax = 0;
3855 gest->fingers_nb = 0;
3858 gest->in_vscroll = 0;
3862 gest->taptimeout = (struct timeval) {
3867 &gest->taptimeout, &sc->lastsoftintr);
3869 timevalclear(&gest->taptimeout);
3910 if (gest->in_taphold || (nfingers == 3 && three_finger_drag))
3911 ms->button |= gest->tap_button;
3919 gest->window_min = window_max;
3920 gest->fingers_nb = imax(nfingers, gest->fingers_nb);
3921 gest->zmax = imax(f->p, gest->zmax);
3924 if (queue_len < gest->window_min)
3931 if (!gest->in_taphold && !ms->button &&
3932 (!gest->in_vscroll || two_finger_scroll)) {
3946 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, >) ||
3956 gest->in_vscroll +=
3958 gest->in_vscroll +=
3968 gest->in_vscroll += 2;
3976 gest->in_vscroll += 1;
3980 if (gest->in_vscroll >= 3)
3981 gest->in_vscroll =
3989 if (two_finger_scroll && gest->in_vscroll != 0 &&
3991 gest->in_vscroll = 0;
3996 gest->in_vscroll ? "YES" : "NO",
3997 gest->in_vscroll, dxp, dyp,
3998 gest->fingers_nb));
4013 if (gest->fingers_nb > 1)
4024 gest->zmax, dx, dy, tap_max_delta, gest->fingers_nb,
4026 if (!gest->in_vscroll && gest->zmax >= tap_threshold &&
4027 timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=) &&
4038 if (gest->in_taphold) {
4043 gest->in_taphold = 0;
4055 gest->tap_button));
4069 gest->in_taphold = 1;
4071 gest->taptimeout.tv_sec = taphold_timeout /
4073 gest->taptimeout.tv_usec = taphold_timeout %
4075 sc->idletimeout = gest->taptimeout;
4076 timevaladd(&gest->taptimeout,
4079 switch (gest->fingers_nb) {
4081 gest->tap_button =
4085 gest->tap_button =
4089 gest->tap_button =
4094 gest->tap_button));
4095 ms->button |= gest->tap_button;
4102 if (gest->in_taphold) {
4105 gest->tap_button));
4106 gest->in_taphold = 0;
4112 } else if (!(sc->flags & PSM_FLAGS_FINGERDOWN) && gest->in_taphold) {
4118 if (timevalcmp(&sc->lastsoftintr, &gest->taptimeout, <=)) {
4119 ms->button |= gest->tap_button;
4122 gest->tap_button));
4123 gest->in_taphold = 0;
4135 gesture_t *gest = &(sc->gesture);
4252 if (smoother->queue_len < gest->window_min)
4258 if (gest->in_vscroll) {
4336 switch(gest->in_vscroll) {