Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/joystick/iforce/
Diforce-packets.c133 u8 btns = data[6]; in iforce_report_hats_buttons() local
136 if (btns & BIT(3)) in iforce_report_hats_buttons()
138 else if (btns & BIT(1)) in iforce_report_hats_buttons()
145 if (btns & BIT(0)) in iforce_report_hats_buttons()
147 else if (btns & BIT(2)) in iforce_report_hats_buttons()
/Linux-v5.4/scripts/kconfig/
Dnconf.gui.c254 ITEM *btns[btn_num+1]; in btn_dialog() local
262 btns[i] = new_item(btn, ""); in btn_dialog()
266 btns[btn_num] = NULL; in btn_dialog()
293 menu = new_menu(btns); in btn_dialog()
351 free_item(btns[i]); in btn_dialog()
/Linux-v5.4/drivers/misc/lis3lv02d/
Dlis3lv02d.c675 int btns[] = {BTN_X, BTN_Y, BTN_Z}; in lis3lv02d_joystick_enable() local
715 lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns); in lis3lv02d_joystick_enable()
716 lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns); in lis3lv02d_joystick_enable()
717 lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns); in lis3lv02d_joystick_enable()