Searched refs:btns (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/input/joystick/iforce/
H A Diforce-packets.c205 int btns = data[6]; iforce_process_packet() local
207 if (btns & 8) input_report_abs(dev, ABS_HAT1X, -1); iforce_process_packet()
208 else if (btns & 2) input_report_abs(dev, ABS_HAT1X, 1); iforce_process_packet()
212 if (btns & 1) input_report_abs(dev, ABS_HAT1Y, -1); iforce_process_packet()
213 else if (btns & 4) input_report_abs(dev, ABS_HAT1Y, 1); iforce_process_packet()
/linux-4.1.27/scripts/kconfig/
H A Dnconf.gui.c254 ITEM *btns[btn_num+1]; btn_dialog() local
262 btns[i] = new_item(btn, ""); btn_dialog()
266 btns[btn_num] = NULL; btn_dialog()
293 menu = new_menu(btns); btn_dialog()
351 free_item(btns[i]); btn_dialog()
H A Dnconf.c1524 /* set btns menu */ main()
/linux-4.1.27/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c687 int btns[] = {BTN_X, BTN_Y, BTN_Z}; lis3lv02d_joystick_enable() local
727 lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns); lis3lv02d_joystick_enable()
728 lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns); lis3lv02d_joystick_enable()
729 lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns); lis3lv02d_joystick_enable()
/linux-4.1.27/drivers/media/rc/
H A Dir-mce_kbd-decoder.c196 IR_dprintk(1, "mouse: x = %d, y = %d, btns = %s%s\n", ir_mce_kbd_process_mouse_data()

Completed in 167 milliseconds