Hi Jeremy Tell me what you want and I will deliver. If you have a source code to be hacked to something specific, let me know.
I looked at the code samples and they were not written by programmers, but by someone who is an admin who hacked something together. >From what I understand, you want a string of integers returned, with no >maximum length and with no decimal point or punctuation. What happens when there is a non integer in the keyed in values? Do you ignore it? I looked at the keyboard.c routine that was pointed to and the code is very large and inefficient for nothing. Regards Leslie Mr. Leslie Satenstein 50 years in Information Technology and going strong. Yesterday was a good day, today is a better day, and tomorrow will be even better. mailto:[email protected] alternative: [email protected] www.itbms.biz www.eclipseguard.com --- On Wed, 9/19/12, Jeremy <[email protected]> wrote: From: Jeremy <[email protected]> Subject: Re: [MLUG] reading keypresses To: [email protected] Date: Wednesday, September 19, 2012, 12:59 PM On 12-09-19 12:49 PM, Fabian Rodriguez wrote: > Maybe a combination of these: > > http://stackoverflow.com/a/3384496 > http://www.thelinuxdaily.com/2010/05/grab-raw-keyboard-input-from-event-device-node-devinputevent/ > > F. Yes I tried both of these. I am now using http://www.ingensand.com/stuff/keyboard.c which gives me a single keystroke (although I want it to require an enter key to output the key), in fact this http://www.ingensand.com/?stuff:webradio is pretty much what I want to do, except to control mpd remotely. I wish I knew c programming lol. Maybe this will make me learn something (what doesn't). More ideas welcome. Jeremy _______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
_______________________________________________ mlug mailing list [email protected] https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
