As you suggested, most USB devices only send updates when inputs change. In the USB spec, it is possible to query the device inputs. I'm guessing hal_input doesn't support that.
hidcomp (http://hidcomp.sourceforge.net/) is supposed to support that, but I can't guarantee it works because the device I use sends updates 20 times a second (it has a watchdog type tick). > -----Original Message----- > From: andy pugh [mailto:[email protected]] > Sent: Tuesday, 5 April 2011 3:03 AM > To: EMC developers > Subject: [Emc-developers] hal_input bug(?) > > There is a chap on the forum using hal_input and a pendant on which the > initial states of the controls can not be assumed to be zero. > http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,vi > ew/catid,24/id,8404/lang,english/#8404 > He has found a mention in the docs of a bug whereby the initial state is not > correctly reported. My suspicion is that USB-HID only sends events when > inputs change? > > Any ides if there is a fix, or a useful hardware workaround? > > -- > atp > "Torque wrenches are for the obedience of fools and the guidance of wise > men" > > ---------------------------------------------------------------------------- -- > Create and publish websites with WebMatrix Use the most popular FREE > web apps or write code yourself; WebMatrix provides all the features you > need to develop and publish your website. http://p.sf.net/sfu/ms- > webmatrix-sf > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
