Re: [Patch 08/10] input: Touchscreen driver for the PCAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On Mon, 2008-07-07 at 16:13, Dmitry Torokhov wrote:
> 
> On Mon, Jul 07, 2008 at 08:40:08PM +0200, stefan@xxxxxxxxxxxxxxxxxx wrote:
> > +
> > +	input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
> > +	input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
> > +	input_set_abs_params(input_dev, ABS_X, X_AXIS_MIN, X_AXIS_MAX, 0, 0);
> > +	input_set_abs_params(input_dev, ABS_Y, Y_AXIS_MIN, Y_AXIS_MAX, 0, 0);
> > +	input_set_abs_params(input_dev, ABS_PRESSURE, PRESSURE_MIN,
> > +			     PRESSURE_MAX, 0, 0);
> > +
> > +	input_register_device(pcap_ts->input);
> 
> Please add error handling here, otherwise looks good.

Ok.New patch somes tomorrow. Need sleep now.

> Thanks.

Thanks for the feedback.

regards
Stefan Schmidt
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux