Home
last modified time | relevance | path

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

/freebsd-12.1/usr.sbin/bluetooth/bthidd/
H A Dhid.c71 int button_state; member
501 if (mouse_butt && !c->button_state && firm && middle == firm) in hid_interrupt()
509 if (mouse_butt && c->button_state == 0x2) in hid_interrupt()
512 if (mouse_butt != c->button_state) in hid_interrupt()
513 c->button_state = mouse_butt, mevents++; in hid_interrupt()
/freebsd-12.1/usr.sbin/moused/
H A Dmoused.c456 struct button_state { struct
460 static struct button_state bstate[MOUSE_MAXBUTTON]; /* button state */ argument
461 static struct button_state *mstate[MOUSE_MAXBUTTON];/* mapped button st.*/
462 static struct button_state zstate[4]; /* Z/W axis state */