Searched refs:btns (Results 1 – 4 of 4) sorted by relevance
133 u8 btns = data[6]; in iforce_report_hats_buttons() local136 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()
254 ITEM *btns[btn_num+1]; in btn_dialog() local262 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()
685 int btns[] = {BTN_X, BTN_Y, BTN_Z}; in lis3lv02d_joystick_enable() local729 lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns); in lis3lv02d_joystick_enable()730 lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns); in lis3lv02d_joystick_enable()731 lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns); in lis3lv02d_joystick_enable()
501 btns {