Searched refs:total_buttons (Results 1 – 8 of 8) sorted by relevance
83 if( jsd[which].total_axises < 2 || jsd[which].total_buttons < 1 ) in init_stick()215 buttons = joystick->total_buttons; in poll_joystick()
82 if( jsd[which].total_axises < 2 || jsd[which].total_buttons < 1 ) in init_stick()217 buttons = joystick->total_buttons; in poll_joystick()
686 int total_buttons; in xaw_create_dialog() local719 total_buttons = name [1] - '0'; in xaw_create_dialog()729 left_buttons = total_buttons - right_buttons; in xaw_create_dialog()
1418 int total_buttons; in xm_create_dialog() local1461 total_buttons = name [1] - '0'; in xm_create_dialog()1471 left_buttons = total_buttons - right_buttons; in xm_create_dialog()
1752 int total_buttons = wv->name[1] - '0'; in create_dialog() local1764 bool make_two_rows = total_buttons > 4; in create_dialog()1777 if (right_buttons == 0) right_buttons = total_buttons/2; in create_dialog()1778 left_buttons = total_buttons - right_buttons; in create_dialog()
2149 int total_buttons = wv->name[1] - '0'; in create_dialog() local2161 bool make_two_rows = total_buttons > 4; in create_dialog()2174 if (right_buttons == 0) right_buttons = total_buttons/2; in create_dialog()2175 left_buttons = total_buttons - right_buttons; in create_dialog()