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.

use Xpadder, Xbox 360 controller and EventGhost together

If you have a question or need help, this is the place to be.
Post Reply
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

use Xpadder, Xbox 360 controller and EventGhost together

Post by 3000 »

Hi, I am a very happy EventGhost user thanks to you guys. I have a "little" problem though.

I am using Xpadder and some of the Xbox 360 controller buttons are already occupied by my Xpadder configuration. Therefore I added a new empty profile. In it Eventghost works as expected. But for the other profiles (3 to be exact) I press one button, but it performs two actions. One from my selected Xpadder profile and one from EventGhost.

Again, this is expected behaviour of course, but I don't want Eventghost to work for the 3 Xpadder profiles but ONLY for the fourth and empty profile.

I hope you guys understand the problem. If not just ask. I am in need of help.

Thank you guys!
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by 3000 »

so?

what can I do? Some python script?

somebody's gotta know something.

please, I am desperate.
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
wacind
Posts: 20
Joined: Fri Jan 30, 2015 6:50 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by wacind »

you can maybe try setting up a sequence in eventghost where a combination of buttons enables or disables the eventghost action (so something like pressing start and X disables the eventghost action and pressing start and Y re-enables it)
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by 3000 »

thank you for your suggestion, that sounds promising.

So I can enable or disable a complete plugin? I didn't realize that was possible - I only found a function to disalbe or enable an item which is insufficient.

The question is how can I enable/disable or complete plugin?
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
wacind
Posts: 20
Joined: Fri Jan 30, 2015 6:50 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by wacind »

You can disable or enable a plugin the same way you would enable or disable anything in eventghost (under actions -> disable or enable an item)

However in this case i would not disable the plugin because then there would be no way for you to enable it using the xbox controller itself. Instead have a Macro that performs the action that you want using the button in question (the one that is common with the xpadder profile).

Then have 2 separate macros that use a combination to enable or disable the first macro. hopefully this combination of xbox buttons is something not used at all by the xpadder profile.

here is what i mean (assuming button X is the button in common with the xpadder profile that you want to enable and disable):

Macro 1:
- press button X
- perform action "abc"

Macro 2:
- press button "start" and X
- disables Macro 1

Macro 3:
- press button "start" and Y
- enables Macro 1

just make sure that the combination of buttons you use for Macros 2 and 3 are not defined in any of the xpadder profiles. This way, right before you want to use any of the 3 xpadder profiles, you can press 'start' and X to disable the eventghost action and when you want to use the eventghost action, you can re-enable the macro
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by 3000 »

thank you very much! It worked :)

However I wasn't able to use a button combination. How is that done? I tried to simply add two buttons to a macro, but it doesn't work as a combination.

thank you!!
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
wacind
Posts: 20
Joined: Fri Jan 30, 2015 6:50 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by wacind »

If you have a bit of python experience, this will be easier. Have a look at these two threads

http://www.eventghost.org/forum/viewtop ... f=2&t=5955
and
http://www.eventghost.org/forum/viewtop ... f=2&t=4064

essentially you would need to set a variable and then have an if statement in your tree. So like pressing the 'start' button sets variable a to '1'.
then pressing the X button sets variable a to (a+1) and pressing Y button sets variable a to (a+2)

So you can then have an if statement in your tree which says that if the variable a ever has the value '2' you disable the macro and if a ever has the value '3' you enable it. Its not hard but, but you would need to know some python.

The other option would be try and utilize Eventghosts, (jump if long press) or (jump if double press) actions
3000
Posts: 37
Joined: Fri Aug 07, 2015 3:49 pm

Re: use Xpadder, Xbox 360 controller and EventGhost together

Post by 3000 »

thank you very much wacind! Your help is very much appreciated.

I will take some time trying to pull it off.

I am very happy as it is though! thank you
sign my petition to save a 28-year-old young mother who is fighting Stage 4 cancer: https://www.change.org/p/help-cancer-pa ... on-the-nhs
Post Reply