Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/
H A Dtwidjoy.c92 int button_bits, abs_x, abs_y; in twidjoy_process_packet() local
94 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()