How i could ignore keyboard and mouse?
#1
Exclamation 
Hi, in my scraper i need to play a video 10 seconds and then stop it but i want to ignore all while video is playing.
I need to ignore keyboard and mouse only these 10 seconds
How could I do this?
Thanks a lot
Reply
#2
Any idea? i dont want that users can pause, rewind, stops... the video.
Thanks in advance.
Reply
#3
You could maybe try throwing up a transparent modal dialog or something.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
jmarshall Wrote:You could maybe try throwing up a transparent modal dialog or something.

How i could throw up a transparent modal dialog?

I thought about use the win32api and use something like "keyboard,enable" and then "keyboard,disable" but this way my script only had this function on windows platform and, in other hand, this methos is very "abrupted", if xbmc could not play the video for some reason, PC needs restart to have keyboard (and mouse) control...

May be exists other way to ignore keyboard and mouse in xbmc...

Thanks a lot
Reply
#5
Throw up a modal dialog within XBMC itself - nothing to do with the operating system you are on. Most keyboard input will first be sent to the window, which *may* swallow it for you.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
How i could ignore keyboard and mouse?0