Jump to content

Gamepad Control


8 replies to this topic

#1 Slion

    Member

  • PipPip
  • Knight Errant
  • 30 posts

Posted 01 December 2013 - 12:58 AM

Just starting with this game. Playing it in my living room on a TV screen using a Logitech F710 which is basically the same as anXBox 360 gamepad.

I could setup the sticks nicely. Left for speed and turn and right for torso.

Now if I press esc on my keyboard I go in the option menu and I can control the mouse cursor using the left stick which is nice. Unfortunantly I can't left click so basically my controller is useless in the menu. Is there a way to have 'esc' and left mouse button mapped on my gamepad so that I don't have to switch to my keyboard all the time?

Any chance the game developer could sort this out?
Why don't they support Xbox controller out of the box? It's a pain to have to go through the setup before you can start playing.

#2 Garagano

    Member

  • PipPipPipPipPipPipPip
  • Littlest Helper
  • Littlest Helper
  • 862 posts
  • LocationGermany

Posted 01 December 2013 - 01:44 AM

in your gamepad software (Logitech Profiler, or whatever it is called for your hardware) you can map any key to be the left mouse.

http://www.logitech....?osid=14&bit=64

Edited by Garagano, 01 December 2013 - 01:46 AM.


#3 Slion

    Member

  • PipPip
  • Knight Errant
  • 30 posts

Posted 01 December 2013 - 02:08 AM

But if not contextual it will waste a button while playing the game.
Is there a MWO Profile for Logitech Profiler btw?
Shall I try using DirectX or Direct Input modes?

#4 Slion

    Member

  • PipPip
  • Knight Errant
  • 30 posts

Posted 01 December 2013 - 02:46 AM

Ok trying out my F710 in DirectInput mode and mouse and menu are usable but I can't repro commands using in game settings anymore.

#5 evilC

    Member

  • PipPipPipPipPipPipPipPip
  • Legendary Founder
  • Legendary Founder
  • 1,298 posts
  • LocationLondon, UK

Posted 05 December 2013 - 04:57 AM

View PostSlion, on 01 December 2013 - 12:58 AM, said:

Left for speed and turn and right for torso.

You do realize right, that this setup does not properly work?

The aperture (hole that the stick sits in) for a gamepad is circular, but the area that the stick reports as in windows is square.
Go into the game controllers window (start -> joy.cpl) and preview the controller.

Note that you cannot get the controller to hit the corners.

This can be fixed using an app I wrote called Pad Throttle.

Finally, regarding your mouse problem...

What I would say is this:
whichever button you normally use to fire weapon group 1, configure that button on the controller to send left click instead.
That way, the button will still fire weapon group 1, but if there is a mouse pointer present with something underneath it, will also click the item.

If your logitech software cannot do this, it could be done very simply using AutoHotkey.

Regarding Esc - the only real solution I see would be to make a combination of buttons send Esc. You would need to find a combination of buttons that you would never normally use during a match.
Do you use clicking in the L and R stick for anything? How about holding both those together sends Esc?

Here is some code using AutoHotkey to do just that:

; Change these to represent the joystick ID and button numbers to use
joy_id := 5
shift_one := 9
shift_two := 10
 
Loop, {
  shifta := GetKeyState(joy_id . "Joy" . shift_one)
  shiftb := GetKeyState(joy_id . "Joy" . shift_two)
  if (shifta & shiftb){
	Send {Esc}
  }
  Sleep, 100
}
 

Edited by evilC, 05 December 2013 - 04:59 AM.


#6 Slion

    Member

  • PipPip
  • Knight Errant
  • 30 posts

Posted 10 December 2013 - 08:41 AM

View PostSlion, on 01 December 2013 - 02:46 AM, said:

Ok trying out my F710 in DirectInput mode and mouse and menu are usable but I can't repro commands using in game settings anymore.


For DirectInput mode on F710 I needed to create a new profile for MWO in Logitech Profiler and set it as default then you can repro commands from the in-game options.

You can also alt+tab to the game profiler to adjust your mapping without restarting the game which is really nice to be able to get the perfect settings. One could even possibly have different Logitech profile for different Mech setup.

#7 Slion

    Member

  • PipPip
  • Knight Errant
  • 30 posts

Posted 10 December 2013 - 03:17 PM

Thanks evilC for the tips.
I have not tried your tools yet.
That issue with the range on the joystick makes it indeed unusable using the analog control.
What I did instead was to map the joystick axis to ADWS so I get the same behaviour than with keyboard.
Still using Logitech Profiler I remapped my gamepad buttons to the default keyboard keys or mouse button.
The right joystick is mapped to mouse so it control torso or simply mouse cursor.
Back button I mapped to Esc so I can access options and exit a match once I got killed.
Right button is mapped to left mouse
Right trigger is mapped to right mouse.
The whole setup is actually usable in Windows to replace the mouse so I can do anything in mechlab too.
I still need more practice to be able to tell whether or not I can get good precission while aiming in game.
Shame Logitech Profiler won't let you adjust the range of your joystick to work around that analog control bug.
I might be trying your trick one of these days though I wonder if it will be compatible with Logitech Profiler.
Also maybe the XML from the profiler let's you change options that the UI does not.

#8 Slion

    Member

  • PipPip
  • Knight Errant
  • 30 posts

Posted 10 December 2013 - 03:23 PM

I could also use Logitech Profiler cycle command to repro the start button to toggle between heat/night/normal view modes.
That's really neat.

#9 SwerveDriber

    Rookie

  • 3 posts

Posted 16 July 2016 - 03:02 PM

Hi
I have a Logitech f310 gamepad for PC....I can alter settings for controls in War Thunder online....but I cannot make changes in MWO.....any suggestions?
thanks

Hi I have a Logitech F310 for PC and I can make changes in war thunder online but I cannot make changes to settings in MWO
any suggestions
Thanks





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users