Lines Matching defs:button
67 * mousemask. There's one bit per button (the RESERVED_EVENT bit) not being
223 write_event(SCREEN *sp, int down, int button, int x, int y)
229 buf[3] = ' ' + (button - 1) + (down ? 0 : 0x40);
274 * OS/2 numbers a 3-button mouse inconsistently from other
354 * We're only interested if the button is pressed or released.
880 * On button press or release, xterm sends ESC [ M CbCxCy.
881 * The low two bits of Cb encode button information: 0=MB1
884 * button was pressed and are added together. 4=Shift,
894 * We encode those as button presses.
904 /* For VIO mouse we add extra bit 64 to disambiguate button-up. */
963 /* See comment above for button 4 */
965 /* Ignore this event as it is not a true press of the button */
980 * the button set as a whole. However, because there are normally
982 * release, we can infer the button actually released by looking at
1150 * button basis, as long as the device-dependent mouse code puts stuff