Hello,
I am trying to create a program that essentially checks if there is any input from either mouse or keyboard and if there is no input after a period of time to execute a part of the program.
I guess I will have to monitor for input and reset a timer if there is input however I am unsure how to monitor for input from both keyboard and mouse at the same time any help would be appreciated! I have tried to google but had no joy!
I am trying to create a program that essentially checks if there is any input from either mouse or keyboard and if there is no input after a period of time to execute a part of the program.
I guess I will have to monitor for input and reset a timer if there is input however I am unsure how to monitor for input from both keyboard and mouse at the same time any help would be appreciated! I have tried to google but had no joy!

