-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 14 Aug 2002 00:30, Morten Holm Larsen wrote:
> EUBH-andon:/andon/bin# ./a.out /dev/usb/hiddev0
> hid 458845
> value 0
>
> Next time the program run, it just terminal:
> EUBH-andon:/andon/bin# ./a.out /dev/usb/hiddev0
> hid 458846
> value 1
>
> And now the program is ready again, an I press 6:
> EUBH-andon:/andon/bin# ./a.out /dev/usb/hiddev
> hid 458846
> value 0
>
> of course I can live whit it, but why this behaviour?
Because depressing and releasing a key are different events.

http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c
- -- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9WXB1W6pHgIdAuOMRAmPNAJ49ZKmM8pYE0nDWmH9YZvoqsldPTgCcCzvS
+JaNd128xWtgUR9IDU0C56w=
=JmGC
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to