Lines Matching refs:bmask
100 int bmask;
178 pPriv->bmask = 0;
233 pPriv->bmask = 0;
331 int bmask; /* Temporary button mask */
349 * The bmask stores which buttons are currently pressed.
350 * This bmask is also used for Emulate3Buttons functions that
354 bmask = 1 << (buttons - 1);
356 if (pPriv->bmask & bmask) {
358 pPriv->bmask &= ~bmask;
363 if ((pPriv->bmask & bmask) == 0) {
365 pPriv->bmask |= bmask;
372 Emulate3ButtonsQueueEvent(&pPriv->emu3btn, type, buttons, pPriv->bmask);