[EL] Question about HOTAS setup to control mouse cursor *INFO*

For help with SW3DG game related technical issues.
Locked
Jaydos96
Ensign
Ensign
Posts: 6
Joined: Tue Jul 05, 2016 11:23 am

[EL] Question about HOTAS setup to control mouse cursor *INFO*

Post by Jaydos96 »

I was wondering if there was any way to bind mouse movements to the joystick hat on the thrustmaster T flight HOTAS X for in game console control? and also the left and right mouse clicks to joystick buttons? Any help with this would be greatly appreciated
User avatar
Vice
Administrator
Administrator
Posts: 11617
Joined: Fri Apr 25, 2003 1:38 am
Contact:

Re: Question about HOTAS control setup

Post by Vice »

Mapping to the joystick HAT would require external profiling, which the software for the TM may offer. But you can turn on menu cursor control in the game's Options menu by changing the 'Menu/Console Control' setting. If you activate that control option, axis one will control the horizontal cursor movement, axis two will control the vertical cursor movement, button one will be left mouse click, and button two will be right mouse click. You can optionally edit the 'menucontrols.txt' file when that option is enabled to change axis and button values for custom options. But it might be easier to use profiling software if you want to use non-default input options for menu/console selection controls. For reference though, here is each line's description in the file:

line1 = control mode, = 0 off, 1 = menus only, 2 = menus and consoles
line2 = pointer movement mode, 1 = pan, 2 = from center
line3 = device ID for first device
line4 = horizontal axis
line5 = vertical axis
line6 = left click button
line7 = right click button
line8 = horizontal deadzone offset
line9 = vertical deadzone offset
line10 = invert horizontal axis
line11 = invert vertical axis
line12 = rate

And as outlined in the changelog for version 1.0288, here are the default values for joystick control when enabled:

2 ` control mode, = 0 off, 1 = menus only, 2 = menus and consoles
1 ` pointer movement mode, 1 = pan, 2 = from center
0 ` device ID for first device (change for different device ID as listed in Windows)
1 ` horizontal axis
0 ` vertical axis
0 ` left click button
1 ` right click button
100 ` horizontal deadzone offset (out of an input range of 1000)
100 ` vertical deadzone offset (out of an input range of 1000)
0 ` invert horizontal axis (1 for enable)
0 ` invert vertical axis (1 for enable)
0.01 ` rate (the speed the mouse pointer will respond)
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
Jaydos96
Ensign
Ensign
Posts: 6
Joined: Tue Jul 05, 2016 11:23 am

Re: Question about HOTAS control setup

Post by Jaydos96 »

Thanks a heap vice, problem solved :)
Locked