BTN_0
PROPERTY_ENTRY_U32("linux,code", BTN_0),
BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode switch */
BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode switch */
BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode switch */
BCM47XX_GPIO_KEY(4, BTN_0), /* Router mode */
.code = BTN_0,
[BTN_0] = "Btn0", [BTN_1] = "Btn1",
input_set_capability(input, EV_KEY, BTN_0 + i);
input_report_key(input, BTN_0 + i, raw_data[4] == (i + 1));
__set_bit(BTN_0, input_dev->keybit);
__clear_bit(BTN_0, input->keybit);
code = BTN_0 + ((usage->hid - 1) & HID_USAGE);
__clear_bit(BTN_0, input->keybit);
[0x0f] = BTN_0, /* cross */
BTN_0,
input_report_key(input, BTN_0, (data[9] & 0x01));
input_report_key(input, BTN_0, (data[1] & 0x01));
return BTN_0 + n;
input_report_key(pad_input, BTN_0, (data[7] & 0x02));
input_set_capability(input_dev, EV_KEY, BTN_0 + sw_id);
int sw_id = BTN_0;
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_0, data[i].a);
input_set_capability(dev, EV_KEY, BTN_0);
input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_9);
input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_2) |
input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_1) |
input_report_key(pm->input, BTN_0, pm->data[0] & 0x01);
input_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0);
#define RB532_BTN_KSYM BTN_0
dev1->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_0);
input_report_key(dev, BTN_0, packet[2] & 4);
input_set_capability(dev, EV_KEY, BTN_0 + i);
input_report_key(dev, BTN_0 + 2 * i,
case BTN_0:
input_report_key(input_dev, BTN_0, data[2]);
input_report_key(input_dev, BTN_0, data[5] & 0x01);
BTN_0, BTN_1, BTN_2, BTN_3, BTN_4, BTN_5, BTN_6, BTN_7, BTN_8,
{ 0x801098, BTN_0 },
buttons[i].code = BTN_0 + i;
jack->key[i] = BTN_0 + i;
{ .max = 11, .key = BTN_0 },