Customized Controls

Post your suggestions here
ryeleyg
Posts: 103
Joined: Sat Aug 17, 2013 5:16 pm
Location: canada

Customized Controls

Post by ryeleyg »

I would like to be able to have my brakes,throttle exetra or what ever your case is to be multi functionable as in being capable of having your back brake or whatever it is on two buttons instead of just one


( sorry if that's kinda confusing ) :D
jason_pama
Posts: 709
Joined: Tue Dec 25, 2012 8:29 pm
Team: MotoRAD
Location: Los Angeles, California
Contact:

Re: Customized Controls

Post by jason_pama »

Just press the same button for both brakes
ryeleyg
Posts: 103
Joined: Sat Aug 17, 2013 5:16 pm
Location: canada

Re: Customized Controls

Post by ryeleyg »

cant cause I do that sliding thing like james Armstrong and alec catenberg :( haha
ryeleyg
Posts: 103
Joined: Sat Aug 17, 2013 5:16 pm
Location: canada

Re: Customized Controls

Post by ryeleyg »

and what I ment to say I this post to was like being able to have my back brake on the B button and the theft trigger at the same time :/
ryeleyg
Posts: 103
Joined: Sat Aug 17, 2013 5:16 pm
Location: canada

Re: Customized Controls

Post by ryeleyg »

and then being able to customize that to what ever your layout would be or what ever u want it to be :/
iNoScope
Posts: 1292
Joined: Wed Jul 24, 2013 12:10 am
Location: Ontario, Canada

Re: Customized Controls

Post by iNoScope »

ryeleyg wrote:cant cause I do that sliding thing like james Armstrong and alec catenberg :( haha
I don't know what your trying to get at, but put your brakes on antilock under bike setup to side less.
Image
iNoScope
Posts: 1292
Joined: Wed Jul 24, 2013 12:10 am
Location: Ontario, Canada

Re: Customized Controls

Post by iNoScope »

iNoScope wrote:
ryeleyg wrote:cant cause I do that sliding thing like james Armstrong and alec catenberg :( haha
I don't know what your trying to get at, but put your brakes on antilock under bike setup to slide less.
Image
ryeleyg
Posts: 103
Joined: Sat Aug 17, 2013 5:16 pm
Location: canada

Re: Customized Controls

Post by ryeleyg »

omg u guys don't know what im talking about :D k so u go to setting and customize controls so go in there and u click what u want to change then u pick witch button or key u want to use well id like to have it where I can have 2 or three buttons for just one of those options so for example I want my back brake to be on the B button and the back left trigger but I can only have one button per option

do u get what im saying now ?
Parny223
Posts: 237
Joined: Wed Nov 06, 2013 2:48 am
Team: MandC Motorsports

Re: Customized Controls

Post by Parny223 »

He wants to be able to put his back brake on two buttons, left trigger and B. Simple as that
Boblob801 wrote: If you save a life a few will know, if you take one everyone will know.
So deep :'(
ryeleyg
Posts: 103
Joined: Sat Aug 17, 2013 5:16 pm
Location: canada

Re: Customized Controls

Post by ryeleyg »

Parny223 wrote:He wants to be able to put his back brake on two buttons, left trigger and B. Simple as that
thank u for under standing what im trying to say :D haha
jason_pama
Posts: 709
Joined: Tue Dec 25, 2012 8:29 pm
Team: MotoRAD
Location: Los Angeles, California
Contact:

Re: Customized Controls

Post by jason_pama »

Then press left trigger for a brake and B for the other brake
SOAB_465
Posts: 535
Joined: Wed Mar 02, 2011 4:45 pm
Location: Alberta

Re: Customized Controls

Post by SOAB_465 »

You guys are being dicks, this has been suggested a few times before.

This is where Nate was trying to write a script to do what you're looking for. Maybe ask him if he ever got it working, or how he set his controls up to do what you're looking for. http://forum.mxsimulator.com/viewtopic. ... ke#p477771

On a side note, you can get that slide the same way by downshifting if you're riding a 4 stroke. Just use the front brake to get the back end light, and then bang down a couple of gears and it will come right around. Catch it with the throttle about half way through the turn and it will do the exact same thing as a brake slide.

If you up your English skills from txt msg to semi-coherent, people will take you just a little more seriously and you'll only have to fight half as many trolls :lol:
SOAB_465
Posts: 535
Joined: Wed Mar 02, 2011 4:45 pm
Location: Alberta

Re: Customized Controls

Post by SOAB_465 »

Actually since I posted that, Del went back in there and suggested a couple fixes that he says have been working:
Del wrote:Using a different software I have managed to achieve what you're trying to do. The software is called JoyToKey. I set "B" to the rear brake ingame and configured JoyToKey like this:
Image

It works, but it's not possible to use the front brake at all without using the rear brake. The software has a setting to set joystick deadzone so that you could activate the brake after say 50% front brake, but for some reason these adjustments are only available for the two analog sticks. I think that AutoHotKey will be a better solution if I can get it working.
SOAB_465
Posts: 535
Joined: Wed Mar 02, 2011 4:45 pm
Location: Alberta

Re: Customized Controls

Post by SOAB_465 »

And he said he got Nate's script to work too:
Del wrote:
yzmxer608 wrote:Sorry I forgot about this.

SendPlay didn't work either (well it did work, but had the same level of functionality as regular Send- only worked in the chat menu). I could never get it to use keys based on the axis position either (even in Windows). Here's what the script looks like now, pretty much the same as before (tried a key delay just to see if it would help, it didn't, also tried using keys again instead of mouse click).

Code: Select all

#persistent ;Keep this script running until the user explicitly exits it
#p::Pause ;Pressing Win+P once will pause the script.  Pressing it again will Unpause.
SetKeyDelay, 0, 50, Play

SetTimer, WatchAxis, 50

WatchAxis:
GetKeyState, joyustate, JoyU

if (joyustate > 50)
{
SendPlay {Click down}
}
else if (joyustate <= 50)
{
SendPlay {Click up}
}
return

joy3::SendPlay {Click} ;Make X button Left Click
I know this is nearly identical to what you had, but it's working for me. I've even went back to the demo and checked.

Code: Select all

SetTimer, WatchAxis, 5
return
 
WatchAxis:
GetKeyState, JoyZ, JoyZ  ; Get position of Z axis.

 
if JoyZ between 60 and 100
{
send {B down}
SoundBeep "300,100"
}
else
{
send {B up}
SoundBeep "425,100"
}
return
Excuse the beeping, it's one of my favorite tools for debugging, haha. Haven't got pressing B to trigger my rear brake yet, but if all else fails I can do a GetKeyState loop. Trying to avoid that because I don't think it's necessary.
Del
Posts: 187
Joined: Mon May 20, 2013 10:10 pm
Team: Dubmoto

Re: Customized Controls

Post by Del »

SOAB_465 wrote:And he said he got Nate's script to work too:
Del wrote: I know this is nearly identical to what you had, but it's working for me. I've even went back to the demo and checked.

Code: Select all

SetTimer, WatchAxis, 5
return
 
WatchAxis:
GetKeyState, JoyZ, JoyZ  ; Get position of Z axis.

 
if JoyZ between 60 and 100
{
send {B down}
SoundBeep "300,100"
}
else
{
send {B up}
SoundBeep "425,100"
}
return
Excuse the beeping, it's one of my favorite tools for debugging, haha. Haven't got pressing B to trigger my rear brake yet, but if all else fails I can do a GetKeyState loop. Trying to avoid that because I don't think it's necessary.
I should clarify for those who aren't familiar with scripting, if you want to use this you should remove the "SoundBeep" lines, and to adjust where the rear brake engages you should change the value of "60" in this line:
if JoyZ between 60 and 100

For example changing "60" to "90" means you'll have to have the trigger nearly fully pushed to engage the rear brake (this is what I would personally use).
Doing something less like 20 would lock up the rear brake before the front even really begins to slow you down. Reasonable values are probably between 70 and 100. You will need to install AutoHotKey to use this script.

This script also doesn't include a button assignment for your controller, so it still doesn't function the way this suggestion wants. I was working on it today, I will probably finish it tomorrow.

As far as I know it's not easily doable to have the rear brake analog when being pressed with the front brake, like pulling the left brake lever on a Foreman. AutoHotKey doesn't support controllers very well. The only workaround I can think of would be using mouse movement to trigger the brake (and moving the mouse as a function of the trigger being pulled), but I've never used the mouse as a brake so I have no idea how it works.
Post Reply