Hi, >> So in short, when using an itm screen the driver never sends BTN_TOUCH >> with a zero value. > > yes, that needs fixing. > >> The attached patch causes the itm driver to remember valid x and y >> values and send the last valid ones when the screen is not touched. I am >> not sure if this is the best approach, but I did not want to mess with >> the generic driver part. >> > > big NAK on the patch. you can't use statics because it would break if > you have multiple devices.
Right, I did think about this after I sent the patch, but did not know how to handle it easily. > does the following patch work for you? > > rgds > -daniel works fine. thanks jp -- This message is subject to the CSIR's copyright, terms and conditions and e-mail legal notice. Views expressed herein do not necessarily represent the views of the CSIR. CSIR E-mail Legal Notice http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html CSIR Copyright, Terms and Conditions http://mail.csir.co.za/CSIR_Copyright.html For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR Legal Notice send a blank message with REQUEST LEGAL in the subject line to [EMAIL PROTECTED] This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel