Searched refs:button_z (Results 1 – 1 of 1) sorted by relevance
31 bool button_z; member63 bool button_c, button_z; in nunchuk_poll() local85 button_z = buffer[5] & BIT(0); in nunchuk_poll()86 if (button_z != data->button_z) { in nunchuk_poll()87 data->button_z = button_z; in nunchuk_poll()88 ret = input_report_key(dev, INPUT_KEY_Z, !data->button_z, true, K_FOREVER); in nunchuk_poll()146 data->button_z = buffer[5] & BIT(0); in nunchuk_init()