Lines Matching refs:sc_num_buttons
235 ms->sc_num_buttons = i;
238 for (i = 0; i < ms->sc_num_buttons; i++)
376 ms->sc_num_buttons = i - 1;
384 for (i = 1; ms->sc_num_buttons < MAX_BUTTONS; i++) {
387 &ms->sc_loc_btn[ms->sc_num_buttons], NULL))
389 ms->sc_num_buttons++;
393 if (ms->sc_num_buttons < MAX_BUTTONS &&
396 &ms->sc_loc_btn[ms->sc_num_buttons], NULL)){
398 ms->sc_num_buttons++;
401 if (ms->sc_num_buttons < MAX_BUTTONS &&
404 &ms->sc_loc_btn[ms->sc_num_buttons], NULL)){
406 ms->sc_num_buttons++;
409 if (ms->sc_num_buttons < MAX_BUTTONS &&
412 &ms->sc_loc_btn[ms->sc_num_buttons], NULL)){
414 ms->sc_num_buttons++;
426 ms->sc_num_buttons = 3;
472 ms->sc_num_buttons, ms->sc_num_buttons == 1 ? "" : "s");
506 for (i = 1; i <= ms->sc_num_buttons; i++) {
590 for (i = 0; i < ms->sc_num_buttons; i++)