Searched refs:num_buttons (Results 1 – 2 of 2) sorted by relevance
557 int num_buttons; in pad_init_buttons_from_libwacom() local571 num_buttons = libwacom_get_num_buttons(tablet); in pad_init_buttons_from_libwacom()572 for (int i = 0; i < num_buttons; i++) { in pad_init_buttons_from_libwacom()
2935 int num_buttons = 10 + ((line & 1) ? line * 9 : line * 3); in ShowDemoWindowLayout() local2936 for (int n = 0; n < num_buttons; n++) in ShowDemoWindowLayout()