can u guide me how to write this program
my program should give outputas follows
when i press a key on the keyboard it should return the "key is pressed"
and also if the key is pressed more than 350ms it should return the "key is hold"
my program should give outputas follows
when i press a key on the keyboard it should return the "key is pressed"
and also if the key is pressed more than 350ms it should return the "key is hold"
Comment