Searched refs:button_bits (Results 1 – 1 of 1) sorted by relevance
92 int button_bits, abs_x, abs_y; in twidjoy_process_packet() local94 button_bits = ((data[1] & 0x7f) << 7) | (data[0] & 0x7f); in twidjoy_process_packet()97 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; in twidjoy_process_packet()