Searched refs:button_bits (Results 1 - 1 of 1) sorted by relevance

/drivers/input/joystick/
H A Dtwidjoy.c108 int button_bits, abs_x, abs_y; local
110 button_bits = ((data[1] & 0x7f) << 7) | (data[0] & 0x7f);
113 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift;

Completed in 57 milliseconds