2014-07-23, 10:31
Hi,
I'm doing some charity work for a local care home for the elderly and need a little assistance.
I'm using RPi and XBMC,
What I need to do is play a movie as long as an UP arrow keyboard stoke is detected at least once every 3 seconds.
If that doesn't happen the movie pauses and waits for an input.
The rule is: If no input is received over a period of 3 seconds the movie pauses. As soon as it detects input the movie starts again.
Any help to set me on the right path would be very gratefully received.
Many Thanks...
I'm doing some charity work for a local care home for the elderly and need a little assistance.
I'm using RPi and XBMC,
What I need to do is play a movie as long as an UP arrow keyboard stoke is detected at least once every 3 seconds.
If that doesn't happen the movie pauses and waits for an input.
The rule is: If no input is received over a period of 3 seconds the movie pauses. As soon as it detects input the movie starts again.
Any help to set me on the right path would be very gratefully received.
Many Thanks...