Home
last modified time | relevance | path

Searched refs:BTN_TOUCH (Results 1 – 112 of 112) sorted by relevance

/linux-4.1.27/drivers/input/touchscreen/
Dhp680_ts_input.c57 input_report_key(hp680_ts_dev, BTN_TOUCH, 1); in do_softint()
61 input_report_key(hp680_ts_dev, BTN_TOUCH, 0); in do_softint()
85 hp680_ts_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in hp680_ts_init()
Djornada720_ts.c76 input_report_key(input, BTN_TOUCH, 0); in jornada720_ts_interrupt()
88 input_report_key(input, BTN_TOUCH, 1); in jornada720_ts_interrupt()
124 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in jornada720_ts_probe()
Dtouchwin.c74 input_report_key(dev, BTN_TOUCH, 1); in tw_interrupt()
79 input_report_key(dev, BTN_TOUCH, 0); in tw_interrupt()
135 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in tw_connect()
Dmk712.c100 input_report_key(mk712_dev, BTN_TOUCH, 0); in mk712_interrupt()
109 input_report_key(mk712_dev, BTN_TOUCH, 1); in mk712_interrupt()
189 mk712_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in mk712_init()
Dhtcpen.c59 input_report_key(htcpen_dev, BTN_TOUCH, 0); in htcpen_interrupt()
79 input_report_key(htcpen_dev, BTN_TOUCH, 1); in htcpen_interrupt()
139 htcpen_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in htcpen_isa_probe()
Delo.c106 input_report_key(dev, BTN_TOUCH, elo->data[2] & ELO10_TOUCH); in elo_process_data_10()
154 input_report_key(dev, BTN_TOUCH, 1); in elo_process_data_6()
171 input_report_key(dev, BTN_TOUCH, !!elo->data[5]); in elo_process_data_6()
192 input_report_key(dev, BTN_TOUCH, !(elo->data[1] & 0x80)); in elo_process_data_3()
338 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in elo_connect()
Dfujitsu_ts.c71 input_report_key(dev, BTN_TOUCH, in fujitsu_interrupt()
125 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in fujitsu_connect()
Dgunze.c72 input_report_key(dev, BTN_TOUCH, gunze->data[0] == 'T'); in gunze_process_packet()
138 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in gunze_connect()
Dtouchright.c71 input_report_key(dev, BTN_TOUCH, in tr_interrupt()
128 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in tr_connect()
Dtouchit213.c109 input_report_key(dev, BTN_TOUCH, in touchit213_interrupt()
166 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in touchit213_connect()
Dipaq-micro-ts.c39 input_report_key(ts->input, BTN_TOUCH, 1); in micro_ts_receive()
44 input_report_key(ts->input, BTN_TOUCH, 0); in micro_ts_receive()
106 input_set_capability(ts->input, EV_KEY, BTN_TOUCH); in micro_ts_probe()
Dpcap_ts.c61 input_report_key(pcap_ts->input, BTN_TOUCH, 0); in pcap_ts_read_xy()
69 input_report_key(pcap_ts->input, BTN_TOUCH, 1); in pcap_ts_read_xy()
176 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in pcap_ts_probe()
Dhampshire.c69 input_report_key(dev, BTN_TOUCH, in hampshire_process_data()
137 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in hampshire_connect()
Ddynapro.c70 input_report_key(dev, BTN_TOUCH, in dynapro_process_data()
138 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in dynapro_connect()
Dtsc40.c36 input_report_key(dev, BTN_TOUCH, 1); in tsc_process_data()
55 input_report_key(dev, BTN_TOUCH, 0); in tsc_interrupt()
106 __set_bit(BTN_TOUCH, input_dev->keybit); in tsc_connect()
Dinexio.c72 input_report_key(dev, BTN_TOUCH, INEXIO_GET_TOUCHED(pinexio->data)); in inexio_process_data()
141 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in inexio_connect()
Dmtouch.c72 input_report_key(dev, BTN_TOUCH, MTOUCH_GET_TOUCHED(mtouch->data)); in mtouch_process_format_tablet()
154 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in mtouch_connect()
Dmax11801_ts.c141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); in max11801_ts_interrupt()
146 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0); in max11801_ts_interrupt()
199 __set_bit(BTN_TOUCH, input_dev->keybit); in max11801_ts_probe()
Dpenmount.c110 input_report_key(dev, BTN_TOUCH, !!(pm->data[0] & 0x40)); in pm_parse_9000()
126 input_report_key(dev, BTN_TOUCH, pm->data[0] & 0x40); in pm_parse_6000()
227 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in pm_connect()
Dtps6507x-ts.c174 input_report_key(input_dev, BTN_TOUCH, 0); in tps6507x_ts_poll()
184 input_report_key(input_dev, BTN_TOUCH, 1); in tps6507x_ts_poll()
266 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in tps6507x_ts_probe()
Dcy8ctmg110_ts.c140 input_report_key(input, BTN_TOUCH, 0); in cy8ctmg110_touch_pos()
142 input_report_key(input, BTN_TOUCH, 1); in cy8ctmg110_touch_pos()
217 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in cy8ctmg110_probe()
Dmigor_ts.c86 input_report_key(priv->input, BTN_TOUCH, 1); in migor_ts_isr()
93 input_report_key(priv->input, BTN_TOUCH, 0); in migor_ts_isr()
153 __set_bit(BTN_TOUCH, input->keybit); in migor_ts_probe()
Dsx8654.c97 input_report_key(sx8654->input, BTN_TOUCH, 0); in sx8654_irq()
117 input_report_key(sx8654->input, BTN_TOUCH, 1); in sx8654_irq()
200 input_set_capability(input, EV_KEY, BTN_TOUCH); in sx8654_probe()
Dlpc32xx_ts.c125 input_report_key(input, BTN_TOUCH, 1); in lpc32xx_ts_interrupt()
127 input_report_key(input, BTN_TOUCH, 0); in lpc32xx_ts_interrupt()
270 input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in lpc32xx_ts_probe()
Ds3c2410_ts.c127 input_report_key(ts.input, BTN_TOUCH, 1); in touch_timer_fire()
141 input_report_key(ts.input, BTN_TOUCH, 0); in touch_timer_fire()
317 ts.input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in s3c2410ts_probe()
Dwacom_w8001.c226 input_report_key(dev, BTN_TOUCH, 0); in report_pen_events()
236 input_report_key(dev, BTN_TOUCH, 0); in report_pen_events()
253 input_report_key(dev, BTN_TOUCH, coord->tsw); in report_pen_events()
273 input_report_key(dev, BTN_TOUCH, coord->tsw); in report_single_touch()
404 __set_bit(BTN_TOUCH, dev->keybit); in w8001_setup()
435 __set_bit(BTN_TOUCH, dev->keybit); in w8001_setup()
Dmcs5000_ts.c128 input_report_key(data->input_dev, BTN_TOUCH, 0); in mcs5000_ts_interrupt()
136 input_report_key(data->input_dev, BTN_TOUCH, 1); in mcs5000_ts_interrupt()
220 __set_bit(BTN_TOUCH, input_dev->keybit); in mcs5000_ts_probe()
Dstmpe-ts.c122 input_report_key(ts->idev, BTN_TOUCH, 0); in stmpe_work()
156 input_report_key(ts->idev, BTN_TOUCH, 1); in stmpe_ts_handler()
355 idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in stmpe_input_probe()
Dmc13783_ts.c115 input_report_key(idev, BTN_TOUCH, cr0); in mc13783_ts_report_sample()
204 idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in mc13783_ts_probe()
Deeti_ts.c110 input_report_key(priv->input, BTN_TOUCH, !!pressed); in eeti_ts_read()
188 input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in eeti_ts_probe()
Ducb1400_ts.c155 input_report_key(idev, BTN_TOUCH, 1); in ucb1400_ts_report_event()
162 input_report_key(idev, BTN_TOUCH, 0); in ucb1400_ts_event_release()
354 ucb->ts_idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in ucb1400_ts_probe()
Dtsc2007.c201 input_report_key(input, BTN_TOUCH, 1); in tsc2007_soft_irq()
222 input_report_key(input, BTN_TOUCH, 0); in tsc2007_soft_irq()
422 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in tsc2007_probe()
Dar1021_i2c.c50 input_report_key(input, BTN_TOUCH, button); in ar1021_i2c_irq()
104 input_set_capability(input, EV_KEY, BTN_TOUCH); in ar1021_i2c_probe()
Dda9034-ts.c133 input_report_key(touch->input_dev, BTN_TOUCH, 1); in report_pen_down()
140 input_report_key(touch->input_dev, BTN_TOUCH, 0); in report_pen_up()
345 __set_bit(BTN_TOUCH, input_dev->keybit); in da9034_touch_probe()
Dda9052_tsi.c92 input_report_key(input, BTN_TOUCH, 1); in da9052_ts_read()
124 input_report_key(input, BTN_TOUCH, 0); in da9052_ts_pen_work()
263 __set_bit(BTN_TOUCH, input_dev->keybit); in da9052_ts_probe()
Dintel-mid-touch.c391 input_report_key(input, BTN_TOUCH, 1); in mrstouch_report_event()
395 input_report_key(input, BTN_TOUCH, 0); in mrstouch_report_event()
618 input->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in mrstouch_probe()
Dw90p910_ts.c70 input_report_key(dev, BTN_TOUCH, down); in w90p910_report_event()
273 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in w90x900ts_probe()
Dwm831x-ts.c147 input_report_key(wm831x_ts->input_dev, BTN_TOUCH, 0); in wm831x_ts_data_irq()
151 input_report_key(wm831x_ts->input_dev, BTN_TOUCH, 1); in wm831x_ts_data_irq()
356 __set_bit(BTN_TOUCH, input_dev->keybit); in wm831x_ts_probe()
D88pm860x-ts.c80 input_report_key(touch->idev, BTN_TOUCH, 1); in pm860x_touch_handler()
84 input_report_key(touch->idev, BTN_TOUCH, 0); in pm860x_touch_handler()
275 __set_bit(BTN_TOUCH, touch->idev->keybit); in pm860x_touch_probe()
Dti_am335x_tsc.c285 input_report_key(input_dev, BTN_TOUCH, 0); in titsc_irq()
321 input_report_key(input_dev, BTN_TOUCH, 1); in titsc_irq()
452 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in titsc_probe()
Dsun4i-ts.c143 input_report_key(ts->input, BTN_TOUCH, 1); in sun4i_ts_irq_handle_input()
152 input_report_key(ts->input, BTN_TOUCH, 0); in sun4i_ts_irq_handle_input()
307 __set_bit(BTN_TOUCH, ts->input->keybit); in sun4i_ts_probe()
Datmel-wm97xx.c178 input_report_key(wm->input_dev, BTN_TOUCH, pen_down); in atmel_wm97xx_channel_b_interrupt()
184 input_report_key(wm->input_dev, BTN_TOUCH, value); in atmel_wm97xx_channel_b_interrupt()
206 input_report_key(input_dev, BTN_TOUCH, 0); in atmel_wm97xx_acc_pen_up()
Dwacom_i2c.c122 input_report_key(input, BTN_TOUCH, tsw || ers); in wacom_i2c_irq()
194 __set_bit(BTN_TOUCH, input->keybit); in wacom_i2c_probe()
Dtsc2005.c249 input_report_key(ts->idev, BTN_TOUCH, !!pressure); in tsc2005_update_pen_state()
255 input_report_key(ts->idev, BTN_TOUCH, 0); in tsc2005_update_pen_state()
705 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in tsc2005_probe()
Dauo-pixcir-ts.c197 input_report_key(ts->input, BTN_TOUCH, 0); in auo_pixcir_interrupt()
239 input_report_key(ts->input, BTN_TOUCH, fingers > 0); in auo_pixcir_interrupt()
588 __set_bit(BTN_TOUCH, input_dev->keybit); in auo_pixcir_probe()
Dad7879.c200 input_report_key(input_dev, BTN_TOUCH, 1); in ad7879_report()
222 input_report_key(input_dev, BTN_TOUCH, 0); in ad7879_ts_event_release()
551 __set_bit(BTN_TOUCH, input_dev->keybit); in ad7879_probe()
Dzylonite-wm97xx.c135 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down()
Dwm97xx-core.c423 input_report_key(wm->input_dev, BTN_TOUCH, 0); in wm97xx_read_samples()
458 input_report_key(wm->input_dev, BTN_TOUCH, 1); in wm97xx_read_samples()
661 __set_bit(BTN_TOUCH, wm->input_dev->keybit); in wm97xx_probe()
Dbcm_iproc_tsc.c214 input_report_key(priv->idev, BTN_TOUCH, priv->pen_status); in iproc_touchscreen_interrupt()
468 __set_bit(BTN_TOUCH, idev->keybit); in iproc_ts_probe()
Dad7877.c366 input_report_key(input_dev, BTN_TOUCH, 1); in ad7877_process_data()
384 input_report_key(input_dev, BTN_TOUCH, 0); in ad7877_ts_event_release()
743 __set_bit(BTN_TOUCH, input_dev->keybit); in ad7877_probe()
Dmainstone-wm97xx.c169 input_report_key(wm->input_dev, BTN_TOUCH, (p != 0)); in wm97xx_acc_pen_down()
Degalax_ts.c207 __set_bit(BTN_TOUCH, input_dev->keybit); in egalax_ts_probe()
Dads7846.c831 input_report_key(input, BTN_TOUCH, 1); in ads7846_report_state()
875 input_report_key(input, BTN_TOUCH, 0); in ads7846_irq()
1355 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in ads7846_probe()
Dili210x.c248 __set_bit(BTN_TOUCH, input->keybit); in ili210x_i2c_probe()
Dusbtouchscreen.c1313 input_report_key(usbtouch->input, BTN_TOUCH, usbtouch->touch); in usbtouch_process_pkt()
1646 input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in usbtouch_probe()
Dpixcir_i2c_ts.c511 __set_bit(BTN_TOUCH, input->keybit); in pixcir_i2c_ts_probe()
Dmms114.c467 __set_bit(BTN_TOUCH, input_dev->keybit); in mms114_probe()
Dedt-ft5x06.c1040 __set_bit(BTN_TOUCH, input->keybit); in edt_ft5x06_ts_probe()
Delants_i2c.c1101 __set_bit(BTN_TOUCH, ts->input->keybit); in elants_i2c_probe()
Datmel_mxt_ts.c1892 input_set_capability(input_dev, EV_KEY, BTN_TOUCH); in mxt_initialize_input_device()
/linux-4.1.27/drivers/input/mouse/
Dtouchkit_ps2.c63 input_report_key(dev, BTN_TOUCH, TOUCHKIT_GET_TOUCHED(packet)); in touchkit_ps2_process_byte()
89 dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in touchkit_ps2_detect()
Dpc110pad.c75 input_report_key(pc110pad_dev, BTN_TOUCH, in pc110pad_interrupt()
146 pc110pad_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in pc110pad_init()
Dvsxxxaa.c258 input_report_key(dev, BTN_TOUCH, 0); in vsxxxaa_handle_REL_packet()
310 input_report_key(dev, BTN_TOUCH, touch); in vsxxxaa_handle_ABS_packet()
363 input_report_key(dev, BTN_TOUCH, 0); in vsxxxaa_handle_POR_packet()
496 __set_bit(BTN_TOUCH, input_dev->keybit); /* ...and Tablet */ in vsxxxaa_connect()
Dlifebook.c186 input_report_key(dev1, BTN_TOUCH, packet[0] & 0x04); in lifebook_process_byte()
326 dev1->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in lifebook_init()
Dappletouch.c629 input_report_key(dev->input, BTN_TOUCH, 1); in atp_complete_geyser_1_2()
643 input_report_key(dev->input, BTN_TOUCH, 0); in atp_complete_geyser_1_2()
749 input_report_key(dev->input, BTN_TOUCH, 1); in atp_complete_geyser_3_4()
763 input_report_key(dev->input, BTN_TOUCH, 0); in atp_complete_geyser_3_4()
926 set_bit(BTN_TOUCH, input_dev->keybit); in atp_probe()
Dsynaptics_usb.c164 input_report_key(input_dev, BTN_TOUCH, 1); in synusb_report_touchpad()
166 input_report_key(input_dev, BTN_TOUCH, 0); in synusb_report_touchpad()
399 __set_bit(BTN_TOUCH, input_dev->keybit); in synusb_probe()
Dnavpoint.c99 input_report_key(navpoint->input, BTN_TOUCH, finger); in navpoint_packet()
259 __set_bit(BTN_TOUCH, input->keybit); in navpoint_probe()
Dhgpk.c376 input_report_key(idev, BTN_TOUCH, down); in hgpk_process_advanced_packet()
569 __set_bit(BTN_TOUCH, input->keybit); in hgpk_setup_input_device()
587 __set_bit(BTN_TOUCH, input->keybit); in hgpk_setup_input_device()
Delantech.c270 input_report_key(dev, BTN_TOUCH, fingers != 0); in elantech_report_absolute_v1()
387 input_report_key(dev, BTN_TOUCH, fingers != 0); in elantech_report_absolute_v2()
522 input_report_key(dev, BTN_TOUCH, fingers != 0); in elantech_report_absolute_v3()
1185 __set_bit(BTN_TOUCH, dev->keybit); in elantech_set_input_params()
Dalps.c321 input_report_key(dev, BTN_TOUCH, 1); in alps_process_packet_v1_v2()
323 input_report_key(dev, BTN_TOUCH, 0); in alps_process_packet_v1_v2()
863 input_report_key(dev, BTN_TOUCH, 1); in alps_process_packet_v6()
865 input_report_key(dev, BTN_TOUCH, 0); in alps_process_packet_v6()
2878 dev1->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH); in alps_init()
Dsentelic.c800 input_report_key(dev, BTN_TOUCH, fgrs); in fsp_process_byte()
967 __set_bit(BTN_TOUCH, dev->keybit); in fsp_set_input_params()
Dsynaptics.c1057 if (hw.z > 30) input_report_key(dev, BTN_TOUCH, 1); in synaptics_process_packet()
1058 if (hw.z < 25) input_report_key(dev, BTN_TOUCH, 0); in synaptics_process_packet()
1224 __set_bit(BTN_TOUCH, dev->keybit); in set_input_params()
Dcypress_ps2.c401 __set_bit(BTN_TOUCH, input->keybit); in cypress_set_input_params()
/linux-4.1.27/drivers/input/misc/
Dideapad_slidebar.c165 input_report_key(slidebar_input_dev, BTN_TOUCH, 0); in slidebar_i8042_filter()
167 input_report_key(slidebar_input_dev, BTN_TOUCH, 1); in slidebar_i8042_filter()
234 input_set_capability(slidebar_input_dev, EV_KEY, BTN_TOUCH); in ideapad_probe()
Dad714x.c381 input_report_key(sw->input, BTN_TOUCH, 1); in ad714x_slider_state_machine()
388 input_report_key(sw->input, BTN_TOUCH, 0); in ad714x_slider_state_machine()
554 input_report_key(sw->input, BTN_TOUCH, 1); in ad714x_wheel_state_machine()
561 input_report_key(sw->input, BTN_TOUCH, 0); in ad714x_wheel_state_machine()
849 input_report_key(sw->input, BTN_TOUCH, in ad714x_touchpad_state_machine()
858 input_report_key(sw->input, BTN_TOUCH, 0); in ad714x_touchpad_state_machine()
1051 __set_bit(BTN_TOUCH, input[alloc_idx]->keybit); in ad714x_probe()
1083 __set_bit(BTN_TOUCH, input[alloc_idx]->keybit); in ad714x_probe()
1116 __set_bit(BTN_TOUCH, input[alloc_idx]->keybit); in ad714x_probe()
Dadxl34x.c232 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY {x,y,z} */
/linux-4.1.27/drivers/hid/
Dhid-elo.c45 set_bit(BTN_TOUCH, input->keybit); in elo_input_configured()
63 input_report_key(input, BTN_TOUCH, 1); in elo_process_data()
68 input_report_key(input, BTN_TOUCH, 0); in elo_process_data()
Dhid-penmount.c26 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); in penmount_input_mapping()
Dwacom_wac.c84 input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -127)); in wacom_penpartner_irq()
90 input_report_key(input, BTN_TOUCH, 0); in wacom_penpartner_irq()
100 input_report_key(input, BTN_TOUCH, ((signed char)data[6] > -80) && !(data[5] & 0x20)); in wacom_penpartner_irq()
169 input_report_key(input, BTN_TOUCH, data[4] & 0x08); in wacom_pl_irq()
199 input_report_key(input, BTN_TOUCH, data[1] & 0x08); in wacom_ptu_irq()
203 input_report_key(input, BTN_TOUCH, data[1] & 0x01); in wacom_ptu_irq()
237 input_report_key(input, BTN_TOUCH, data[1] & 0x05); in wacom_dtu_irq()
286 input_report_key(input, BTN_TOUCH, pressure > 10); in wacom_dtus_irq()
354 input_report_key(input, BTN_TOUCH, data[1] & 0x01); in wacom_graphire_irq()
590 input_report_key(input, BTN_TOUCH, 0); in wacom_intuos_inout()
[all …]
Dhid-ntrig.c630 input_report_key(input, BTN_TOUCH, in ntrig_event()
841 input_report_key(input, BTN_TOUCH, 1); in ntrig_event()
844 input_report_key(input, BTN_TOUCH, 0); in ntrig_event()
Dhid-input.c671 if (!test_bit(BTN_TOUCH, input->keybit)) { in hidinput_configure_usage()
674 set_bit(BTN_TOUCH, input->keybit); in hidinput_configure_usage()
703 map_key_clear(BTN_TOUCH); in hidinput_configure_usage()
1098 input_event(input, EV_KEY, BTN_TOUCH, value > a + ((b - a) >> 3)); in hidinput_hid_event()
Dhid-magicmouse.c396 __set_bit(BTN_TOUCH, input->keybit); in magicmouse_setup_input()
Dhid-multitouch.c465 hid_map_usage(hi, usage, bit, max, EV_KEY, BTN_TOUCH); in mt_touch_input_mapping()
466 input_set_capability(hi->input, EV_KEY, BTN_TOUCH); in mt_touch_input_mapping()
Dhid-debug.c882 [BTN_TOUCH] = "Touch", [BTN_STYLUS] = "Stylus",
/linux-4.1.27/drivers/mfd/
Ducb1x00-ts.c64 input_report_key(idev, BTN_TOUCH, 1); in ucb1x00_ts_evt_add()
73 input_report_key(idev, BTN_TOUCH, 0); in ucb1x00_ts_event_release()
392 idev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in ucb1x00_ts_add()
/linux-4.1.27/Documentation/input/
Devent-codes.txt114 * BTN_TOUCH:
115 BTN_TOUCH is used for touch contact. While an input tool is determined to be
120 certain value. BTN_TOUCH may be combined with BTN_TOOL_<name> codes. For
121 example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the
125 BTN_TOUCH must be the first evdev code emitted in a synchronization frame.
127 Note: Historically a touch device with BTN_TOOL_FINGER and BTN_TOUCH was
139 Note that all BTN_TOOL_<name> codes and the BTN_TOUCH code are orthogonal in
173 proximity of the device and while the value of the BTN_TOUCH code is 0. If
318 ABS_{X,Y} must be reported with the location of the touch. BTN_TOUCH must be
331 location of the touch. BTN_TOUCH should be used to report when a touch is active
[all …]
Dmulti-touch-protocol.txt115 If the driver reports one of BTN_TOUCH or ABS_PRESSURE in addition to the
/linux-4.1.27/drivers/input/tablet/
Dacecad.c100 input_report_key(dev, BTN_TOUCH, touch); in usb_acecad_irq()
203 BIT_MASK(BTN_TOUCH) | BIT_MASK(BTN_STYLUS) | in usb_acecad_probe()
Dwacom_serial4.c353 input_report_key(wacom->dev, BTN_TOUCH, button & 1); in wacom_handle_packet()
549 set_bit(BTN_TOUCH, input_dev->keybit); in wacom_connect()
Dkbtab.c159 BIT_MASK(BTN_TOOL_PEN) | BIT_MASK(BTN_TOUCH); in kbtab_probe()
Daiptek.c345 BTN_TOOL_BRUSH, BTN_TOOL_MOUSE, BTN_TOOL_LENS, BTN_TOUCH,
570 input_report_key(inputdev, BTN_TOUCH, tip); in aiptek_irq()
/linux-4.1.27/arch/unicore32/kernel/
Dpuv3-nb0916.c71 .code = BTN_TOUCH,
/linux-4.1.27/arch/blackfin/mach-bf527/boards/
Dtll6527m.c242 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */
/linux-4.1.27/drivers/macintosh/ams/
Dams-input.c85 set_bit(BTN_TOUCH, input->keybit); in ams_input_enable()
/linux-4.1.27/drivers/iio/adc/
Dat91_adc.c338 input_report_key(st->ts_input, BTN_TOUCH, 1); in at91_ts_sample()
382 input_report_key(st->ts_input, BTN_TOUCH, 0); in at91_adc_rl_interrupt()
394 input_report_key(st->ts_input, BTN_TOUCH, 1); in at91_adc_rl_interrupt()
439 input_report_key(st->ts_input, BTN_TOUCH, 0); in at91_adc_9x5_interrupt()
1087 __set_bit(BTN_TOUCH, input->keybit); in at91_ts_register()
/linux-4.1.27/drivers/input/
Dinput-mt.c63 __set_bit(BTN_TOUCH, dev->keybit); in input_mt_init_slots()
220 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation()
Dmousedev.c231 case BTN_TOUCH: in mousedev_key_event()
375 if (code == BTN_TOUCH && in mousedev_event()
1026 .keybit = { [BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH) },
Djoydev.c811 if (test_bit(EV_KEY, dev->evbit) && test_bit(BTN_TOUCH, dev->keybit)) in joydev_match()
/linux-4.1.27/drivers/input/keyboard/
Dhil_kbd.c412 btntype = BTN_TOUCH; in hil_dev_pointer_setup()
417 btntype = BTN_TOUCH; in hil_dev_pointer_setup()
/linux-4.1.27/arch/arm/boot/dts/include/dt-bindings/input/
Dinput.h342 #define BTN_TOUCH 0x14a macro
/linux-4.1.27/arch/mips/boot/dts/include/dt-bindings/input/
Dinput.h342 #define BTN_TOUCH 0x14a macro
/linux-4.1.27/include/dt-bindings/input/
Dinput.h342 #define BTN_TOUCH 0x14a macro
/linux-4.1.27/arch/powerpc/boot/dts/include/dt-bindings/input/
Dinput.h342 #define BTN_TOUCH 0x14a macro
/linux-4.1.27/arch/arm64/boot/dts/include/dt-bindings/input/
Dinput.h342 #define BTN_TOUCH 0x14a macro
/linux-4.1.27/arch/metag/boot/dts/include/dt-bindings/input/
Dinput.h342 #define BTN_TOUCH 0x14a macro
/linux-4.1.27/drivers/staging/iio/adc/
Dmxs-lradc.c713 input_report_key(lradc->ts_input, BTN_TOUCH, 1); in mxs_lradc_report_ts_event()
756 input_report_key(lradc->ts_input, BTN_TOUCH, 0); in mxs_lradc_finish_touch_event()
1114 __set_bit(BTN_TOUCH, input->keybit); in mxs_lradc_ts_register()
/linux-4.1.27/drivers/misc/ibmasm/
Dremote.c232 set_bit(BTN_TOUCH, mouse_dev->keybit); in ibmasm_init_remote_input_dev()
/linux-4.1.27/arch/blackfin/mach-bf609/boards/
Dezkit.c192 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */
/linux-4.1.27/arch/blackfin/mach-bf548/boards/
Dezkit.c223 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */
/linux-4.1.27/drivers/media/rc/
Dimon.c1090 input_report_key(ictx->touch, BTN_TOUCH, 0x00); in imon_touch_display_timeout()
1398 input_report_key(ictx->touch, BTN_TOUCH, 0x01); in imon_touch_event()
2080 touch->keybit[BIT_WORD(BTN_TOUCH)] = in imon_init_touch()
2081 BIT_MASK(BTN_TOUCH); in imon_init_touch()
/linux-4.1.27/arch/blackfin/mach-bf537/boards/
Dstamp.c820 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY x,y,z */
/linux-4.1.27/include/uapi/linux/
Dinput.h550 #define BTN_TOUCH 0x14a macro