Lines Matching refs:button_state
52 struct button_state *buttons)
55 const struct button_state *state = &tablet->button_state,
64 struct button_state *buttons)
67 const struct button_state *state = &tablet->button_state,
80 struct button_state *state = &tablet->button_state,
786 set_bit(tablet->button_state.bits, evcode);
789 clear_bit(tablet->button_state.bits, evcode);
1203 const struct button_state *buttons,
1237 struct button_state buttons;
1982 memset(tablet->button_state.bits,
1984 sizeof(tablet->button_state.bits));
2067 struct button_state zero = {0};
2071 &tablet->button_state,
2072 sizeof(tablet->button_state));
2075 if (memcmp(&tablet->button_state, &zero, sizeof(zero)) == 0)