Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Action when two buttons are depressed

If you have a question or need help, this is the place to be.
Post Reply
barbz
Posts: 1
Joined: Mon Jan 12, 2009 12:42 am

Action when two buttons are depressed

Post by barbz »

Hi all,

I found this software last week and am hooked, it makes running xbmc so much easier and quicker thankyou!

One thing I hate about wireless keyboard and remotes is how easy it is to hit the shutdown button.

Is there any way to create a shutdown action where two buttons need to be pressed on a remote?

If not could this please be moved to feature requests.

Thanks
Paul
specter333
Experienced User
Posts: 95
Joined: Thu Dec 27, 2007 12:26 am

Re: Action when two buttons are depressed

Post by specter333 »

EG will usually capture the key you assign as an event and not let it pass on to the OS. So theoretically you should be able to assign the shutdown key to an action such as a comment and keep it from working. However my keyboards or remotes don't have a dedicated shutdown key so I'm not sure if you would be able to capture the keystroke and assign it before the computer shuts down.

If you want to use it as a two part shutdown process assign it to open a desktop remote and have it shutdown the computer or cancel. Shutdown is found in the action System/Power management.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Action when two buttons are depressed

Post by Bitmonster »

Two buttons you can handle with exclusives like the state examples in the Example.xml.

But for such situations the "Jump if long press" action might be more elegant.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply