BTN_1
BCM47XX_GPIO_KEY(5, BTN_1), /* Repeater mode */
.code = BTN_1,
else if (usage->code == BTN_1)
hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_1);
case 0xff01: asus_map_key_clear(BTN_1); break;
case 0xff01: ch_map_key_clear(BTN_1); break;
[BTN_0] = "Btn0", [BTN_1] = "Btn1",
__set_bit(BTN_1, input_dev->keybit);
BTN_1,
BTN_1, /* WIIMOD_GUITAR_KEY_G */
BTN_1, /* WIIMOD_TURNTABLE_KEY_G_RIGHT */
BTN_1, /* WIIPROTO_KEY_ONE */
input_report_key(input, BTN_1, (data[9] & 0x02));
input_report_key(input, BTN_1, (data[1] & 0x02));
input_report_key(pad_input, BTN_1, (data[7] & 0x01));
static short adi_cm2_key[] = { BTN_1, BTN_2, BTN_3, BTN_4, BTN_5, BTN_6, BTN_7, BTN_8 };
static const short gc_psx_ddr_btn[] = { BTN_0, BTN_1, BTN_2, BTN_3 };
static int magellan_buttons[] = { BTN_0, BTN_1, BTN_2, BTN_3, BTN_4, BTN_5, BTN_6, BTN_7, BTN_8 };
input_report_key(dev, BTN_1, data[i].b);
input_set_capability(dev, EV_KEY, BTN_1);
input_report_key(dev, BTN_1, data[2] & 0x01);
input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_1) |
input_report_key(dev, BTN_1, (data[2] & 0x01) || (data[2] & 0x20));
dev1->keybit[BIT_WORD(BTN_1)] |= BIT_MASK(BTN_1);
input_report_key(dev, BTN_1, packet[0] & 0x10);
input_report_key(dev, BTN_1 + 2 * i,
case BTN_1:
BTN_1 + i, data[3] & (1 << i));
BTN_1 + i, data[5] & (1 << i));
BTN_0, BTN_1, BTN_2, BTN_3, BTN_4, BTN_5, BTN_6, BTN_7, BTN_8,
{ 0x00000082, BTN_1},
{ .max = 28, .key = BTN_1 },
BTN_1,