Lines Matching refs:consms_state

163 static consms_state_t	consms_state;	/* the global virtual mouse state */
293 consms_state.consms_lqs = NULL;
294 consms_state.consms_num_lqs = 0;
297 consms_state.consms_vuid_format = VUID_FIRM_EVENT;
298 consms_state.consms_num_buttons = 0;
299 consms_state.consms_num_wheels = 0;
300 consms_state.consms_wheel_state_bf |= VUID_WHEEL_STATE_ENABLED;
301 consms_state.consms_ms_parms.jitter_thresh =
303 consms_state.consms_ms_parms.speed_limit =
305 consms_state.consms_ms_parms.speed_law =
307 consms_state.consms_ms_sr.height = CONSMS_SR_DEFAULT_HEIGHT;
308 consms_state.consms_ms_sr.width = CONSMS_SR_DEFAULT_WIDTH;
399 if (consms_state.consms_num_lqs > 0) {
414 if (consms_state.consms_num_lqs > 0) {
483 if ((consms_state.consms_num_lqs <= 0) ||
488 *(int *)datap->b_wptr = consms_state.consms_num_buttons;
502 if (consms_state.consms_num_lqs <= 0) {
642 for (lq = consms_state.consms_lqs; lq != NULL; lq = lq->lq_next) {
647 consms_state.consms_lqs = lq->lq_next;
649 consms_state.consms_num_lqs--;
783 consms_state.consms_vuid_format;
805 consms_state.consms_wheel_state_bf & 1;
824 *params = consms_state.consms_ms_parms;
845 *sr = consms_state.consms_ms_sr;
899 consms_state.consms_num_lqs++;
901 lq->lq_next = consms_state.consms_lqs;
902 consms_state.consms_lqs = lq;
925 for (lq = consms_state.consms_lqs; lq != NULL; lq = lq->lq_next) {
930 if (max_buttons != consms_state.consms_num_buttons) {
936 consms_state.consms_num_buttons = max_buttons;
940 consms_state.consms_num_buttons)) != NULL) {
946 if (max_wheels != consms_state.consms_num_wheels) {
952 consms_state.consms_num_wheels = max_wheels;
956 consms_state.consms_num_wheels)) != NULL) {
1292 if (num_wheels < consms_state.consms_num_wheels) {
1294 consms_state.consms_num_wheels;
1320 consms_state.consms_vuid_format = *(int *)mp->b_cont->b_rptr;
1325 consms_state.consms_ms_parms = *parms;
1330 consms_state.consms_ms_sr = *sr;
1335 consms_state.consms_wheel_state_bf =
1337 (consms_state.consms_wheel_state_bf & ~(1 << ws->id));
1365 msg->msg_num_requests = consms_state.consms_num_lqs;
1368 for (lq = consms_state.consms_lqs; lq != NULL; lq = lq->lq_next) {
1407 for (lq = consms_state.consms_lqs; lq != NULL; lq = lq->lq_next) {