 input->name = "Bluetooth HID Boot Protocol Device"; 
static inline void hidp_setup_input(struct hidp_session *session, struct hidp_connadd_req *req){	struct input_dev *input = session->input;	int i;	input->private = session;	input->id.bustype = BUS_BLUETOOTH;	input->id.vendor  = req->vendor;	input->id.product = req->product;	input->id.version = req->version;	if (req->subclass & 0x40) {		set_bit(EV_KEY, input->evbit);		set_bit(EV_LED, input->evbit);		set_bit(EV_REP, input->evbit);		set_bit(LED_NUML,    input->ledbit);		set_bit(LED_CAPSL,   input->ledbit);		set_bit(LED_SCROLLL, input->ledbit);		set_bit(LED_COMPOSE, input->ledbit);		set_bit(LED_KANA,    input->ledbit);		for (i = 0; i < sizeof(hidp_keycode); i++)			set_bit(hidp_keycode[i], input->keybit);		clear_bit(0, input->keybit);	}	if (req->subclass & 0x80) {		input->evbit[0] = BIT(EV_KEY) | BIT(EV_REL);		input->keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE);		input->relbit[0] = BIT(REL_X) | BIT(REL_Y);		input->keybit[LONG(BTN_MOUSE)] |= BIT(BTN_SIDE) | BIT(BTN_EXTRA);		input->relbit[0] |= BIT(REL_WHEEL);	}	input->event = hidp_input_event;	input_register_device(input);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/34abf91f4036c01669e298e649b7ba85cadf82eb/core.c/clean/net/bluetooth/hidp/core.c