hello... is there any way tht we can perform a 'keydown' or keyup' event in c ??
hello... is there any way tht we can perform a 'keydown' or keyup' event in c ??
Only with OS specific functions, not the standard library.
"I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008
"the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010
That probably requires a tad more detail, such as:
1. What OS?
2. What do you mean "do" keydown and keyup events?
3. Do you mean to see the keydown/up events, or to send them to some other application, or something else?
Giving that may not be sufficient to answer the question, but it will be a starting point.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
even with os functions ,, how ??
What OS?
Whilst I don't mind increasing my post count by ten with answering one question, I do think it would be better for YOU to answer OUR questions first, rather than just asking the same question again without further information. Preferrably all three of the ones I asked in one go, as it's likely that you will not get a very good answer without that.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Yeah dude, and make it clear you mean "key down"/"key up" and not just a "key pressed". The later is easy enough but I image the former could be quite hard.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge