Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_nunchuk.c31 bool button_z; member
63 bool button_c, button_z; in nunchuk_poll() local
85 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()