Home
last modified time | relevance | path

Searched refs:BTN_B (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/hid/
H A Dhid-icade.c141 [11] = { BTN_B, 1 },
142 [21] = { BTN_B, 0 },
H A Dhid-chicony.c78 case 0xff0b: ch_map_key_clear(BTN_B); break; in ch_input_mapping()
H A Dhid-samsung.c252 samsung_kbd_mouse_map_key_clear(BTN_B); in samsung_gamepad_input_mapping()
H A Dhid-steam.c744 input_set_capability(input, EV_KEY, BTN_B); in steam_input_register()
1479 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_input_event()
1653 input_event(input, EV_KEY, BTN_B, !!(b8 & BIT(5))); in steam_do_deck_input_event()
H A Dhid-debug.c3287 [BTN_B] = "BtnB", [BTN_C] = "BtnC",
/linux/drivers/input/joystick/
H A Dstinger.c53 input_report_key(dev, BTN_B, ((data[0] & 0x10) >> 4)); in stinger_process_packet()
138 input_dev->keybit[BIT_WORD(BTN_A)] = BIT_MASK(BTN_A) | BIT_MASK(BTN_B) | in stinger_connect()
H A Ddb9.c98 static const short db9_genesis_btn[] = { BTN_START, BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_M…
99 static const short db9_cd32_btn[] = { BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_TL, BTN_TR, BTN…
306 input_report_key(dev, BTN_B, data[j + 1] & 0x01); in db9_saturn_report()
405 input_report_key(dev, BTN_B, ~data & DB9_FIRE1); in db9_timer()
422 input_report_key(dev, BTN_B, ~data & DB9_FIRE1); in db9_timer()
442 input_report_key(dev, BTN_B, ~data & DB9_FIRE1); in db9_timer()
H A Dmaplecontrol.c47 input_report_key(dev, BTN_B, buttons & 0x0002); in dc_pad_callback()
85 BTN_C, BTN_B, BTN_A, BTN_START, -1, -1, -1, -1, in probe_maple_controller()
H A Dspaceball.c111 input_report_key(dev, BTN_B, data[1] & 0x08); in spaceball_process_packet()
225 BIT_MASK(BTN_B) | BIT_MASK(BTN_C) | in spaceball_connect()
H A Dtmdc.c58 { BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_START, BTN_SELECT, BTN_TL, BTN_TR };
61 BTN_BASE3, BTN_BASE4, BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z };
63 { BTN_TRIGGER, BTN_C, BTN_B, BTN_A, BTN_THUMB, BTN_X, BTN_Y, BTN_Z, BTN_TOP, BTN_TOP2 };
H A Dinteract.c50 …{ BTN_TR, BTN_X, BTN_Y, BTN_Z, BTN_A, BTN_B, BTN_C, BTN_TL, BTN_TL2, BTN_TR2, BTN_MODE, BTN_SELECT…
52 { BTN_C, BTN_TL, BTN_TR, BTN_A, BTN_B, BTN_Y, BTN_Z, BTN_X, -1 };
H A Dgrip.c44 static int grip_btn_gpp[] = { BTN_START, BTN_SELECT, BTN_TR2, BTN_Y, 0, BTN_TL2, BTN_A, BTN_B, BTN_…
46 static int grip_btn_xt[] = { BTN_TRIGGER, BTN_THUMB, BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_…
H A Dtwidjoy.c58 { 0, 3, { BTN_A, BTN_B, BTN_C } },
H A Dspaceorb.c31 static int spaceorb_buttons[] = { BTN_TL, BTN_TR, BTN_Y, BTN_X, BTN_B, BTN_A };
H A Dgamecon.c100 BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z,
329 BTN_A, BTN_B, BTN_SELECT, BTN_START, BTN_X, BTN_Y, BTN_TL, BTN_TR
537 BTN_TL, BTN_TR, BTN_TL2, BTN_TR2, BTN_A, BTN_B, BTN_X, BTN_Y,
H A Dcobra.c26 static int cobra_btn[] = { BTN_START, BTN_SELECT, BTN_TL, BTN_TR, BTN_X, BTN_Y, BTN_Z, BTN_A, BTN_B
H A Dguillemot.c32 { BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_TL, BTN_TR, BTN_MODE, BTN_SELECT, -1 };
H A Dgf2k.c55 static short gf2k_btn_pad[] = { BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_TL, BTN_TR, BTN_TL2, …
H A Dxpad.c436 BTN_A, BTN_B, BTN_X, BTN_Y, /* "analog" buttons */
869 input_report_key(dev, BTN_B, data[5]); in xpad_process_packet()
931 input_report_key(dev, BTN_B, data[3] & BIT(5)); in xpad360_process_packet()
1116 input_report_key(dev, BTN_B, data[4] & BIT(5)); in xpadone_process_packet()
H A Dgrip_mp.c92 static const int grip_btn_gp[] = { BTN_TR, BTN_TL, BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, -1 };
H A Dadi.c65 static short adi_wmgpe_key[] = { BTN_A, BTN_B, BTN_C, BTN_X, BTN_Y, BTN_Z, BTN_TL, BTN_TR, BTN_STA…
H A Danalog.c85 static short analog_pad_btn[] = { BTN_A, BTN_B, BTN_C, BTN_X, BTN_TL2, BTN_TR2, BTN_SELECT, BTN_STA…
/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h385 #define BTN_B BTN_EAST
384 #define BTN_B global() macro
/linux/include/uapi/linux/
H A Dinput-event-codes.h385 #define BTN_B BTN_EAST macro
/linux/arch/arm/boot/dts/allwinner/
H A Dsun4i-a10-inet9f-rev03.dts182 linux,code = <BTN_B>;

12