Home
last modified time | relevance | path

Searched refs:button_state (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/usr.sbin/bluetooth/bthidd/
H A Dhid.c70 int button_state; member
500 if (mouse_butt && !c->button_state && firm && middle == firm) in hid_interrupt()
508 if (mouse_butt && c->button_state == 0x2) in hid_interrupt()
511 if (mouse_butt != c->button_state) in hid_interrupt()
512 c->button_state = mouse_butt, mevents++; in hid_interrupt()
/freebsd-14.2/usr.sbin/moused/
H A Dmoused.c440 struct button_state { struct
444 static struct button_state bstate[MOUSE_MAXBUTTON]; /* button state */ argument
445 static struct button_state *mstate[MOUSE_MAXBUTTON];/* mapped button st.*/
446 static struct button_state zstate[4]; /* Z/W axis state */