Lines Matching refs:button
434 AV_NO_BACKGROUND | AV_INT_BUTTON, /* cancel button -> sense abort! */
2222 status = SANE_STATUS_CANCELLED; /* AV610C2 cancel button */
3863 string_for_button (Avision_Scanner* s, uint8_t button)
3881 switch (button)
3894 if (button == 1)
3903 switch (button)
3912 snprintf (buffer, sizeof (buffer), "button%d", button);
3948 rcmd.datatypecode = AVISION_DATATYPECODE_BUTTON_STATUS; /* button status */
3966 /* either there was a button press and this completes quickly
4005 /* simulate button press of the last button ... */
4038 DBG (3, "get_button_status: %d button(s) pressed\n", buttons_pressed);
4040 /* reset the hardware button status */
4051 scmd.datatypecode = AVISION_DATATYPECODE_BUTTON_STATUS; /* button control */
4066 const uint8_t button = result.buttons[i] - 1; /* 1 based ... */
4067 DBG (3, "get_button_status: button %d pressed\n", button);
4068 if (button >= dev->inquiry_buttons) {
4069 DBG (1, "get_button_status: button %d not allocated as not indicated in inquiry\n",
4070 button);
4073 const char* label = string_for_button (s, button);
4082 DBG (3, "get_button_status: no button pressed\n");
7395 (such as recognizing when the user presses a cancel button).
8222 /* poll the cancel button if the scanner is marked as having one */