Searched refs:grip_btn_gpp (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | grip.c | 47 static int grip_btn_gpp[] = { BTN_START, BTN_SELECT, BTN_TR2, BTN_Y, 0, BTN_TL2, BTN_A, BTN_B, BTN_X, 0, BTN_TL, BTN_TR, -1 }; variable 60 static int *grip_btn[] = { NULL, grip_btn_gpp, grip_btn_bd, grip_btn_xt, grip_btn_dc }; 194 if (grip_btn_gpp[j]) in grip_poll() 195 input_report_key(dev, grip_btn_gpp[j], (*data >> j) & 1); in grip_poll()
|
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | grip.c | 44 static int grip_btn_gpp[] = { BTN_START, BTN_SELECT, BTN_TR2, BTN_Y, 0, BTN_TL2, BTN_A, BTN_B, BTN_X, 0, BTN_TL, BTN_TR, -1 }; variable 57 static int *grip_btn[] = { NULL, grip_btn_gpp, grip_btn_bd, grip_btn_xt, grip_btn_dc }; 191 if (grip_btn_gpp[j]) in grip_poll() 192 input_report_key(dev, grip_btn_gpp[j], (*data >> j) & 1); in grip_poll()
|
Completed in 2 milliseconds