Jump to content

Recommended Posts

Posted

Hey all,

 

I'm wondering if there is a way to center trackir using a modifier key, the same way that modifier keys work in the controls input configuration section.

I currently use the trackir software to trap keyboard keys for recenter and the trackir software will let you use a single joystick button but I have not seen a way to do it with a modifier key.

 

Any ideas?

 

Also for those on the fence about getting track ir IMHO its well worth the money.

I tried building my own setup, 3 different versions with various LED flavors and they work. The value in trackir is in the software, it is substancially better than the open source options in terms of filtering out unwanted light input, and smoothing your movements.

 

Thanks!

Posted (edited)

If you use modifier key via DCS setting it will not work because that key will be disabled from other operations in DCS. However, if you use a modifier key from an external joystick app, it will work. This means that you will also have to rely on the bindings that involve that modifier key from that app.

Edited by Supmua

PC: 5800X3D/4090, 11700K/3090, 9900K/2080Ti.

Joystick bases: TMW, VPC WarBRD, MT50CM2, VKB GFII, FSSB R3L

Joystick grips: TM (Warthog, F/A-18C), Realsimulator (F-16SGRH, F-18CGRH), VKB (Kosmosima LH, MCG, MCG Pro), VPC MongoosT50-CM2

Throttles: TMW, Winwing Super Taurus, Logitech Throttle Quadrant, Realsimulator Throttle (soon)

VR: HTC Vive/Pro, Oculus Rift/Quest 2, Valve Index, Varjo Aero, https://forum.dcs.world/topic/300065-varjo-aero-general-guide-for-new-owners/

  • 1 month later...
Posted
Hey all,

 

I'm wondering if there is a way to center trackir using a modifier key, the same way that modifier keys work in the controls input configuration section.

I currently use the trackir software to trap keyboard keys for recenter and the trackir software will let you use a single joystick button but I have not seen a way to do it with a modifier key.

 

Any ideas?

 

Also for those on the fence about getting track ir IMHO its well worth the money.

I tried building my own setup, 3 different versions with various LED flavors and they work. The value in trackIR is in the software, it is substantially better than the open source options in terms of filtering out unwanted light input, and smoothing your movements.

 

Thanks!

 

 

Attached is an AutoHotkey script I use for that exact purpose.

I use it with the WH HOTAS stick for the paddle (modifier) and DMS down.

 

 

Modifier + DMS down short = TrackIR recenter.

Modifier + DMS down long = TrackIR freeze.

 

 

1. Figure out your Y and X values for "Y Joy X" in the script through Windows setup for the button (X) and JoyID for the controller ID in your setup (Y).

 

2. Edit TrackIR config file so recenter equals F15 and freeze equals F16.

3. Edit script for your XJoyY values in Notepad++ > save as ".ahk" file > compile > run before you start DCS.

 

Enjoy :)

 

 

 

 

1Joy13:: ; y Joy x , y= controller ID number in windows, x= joy button number

KeyWait, 1Joy13 ; Wait for 1Joy13 to be released

x := A_TimeSinceThisHotkey ; Just assigning x here, for shorter "if's"

GetKeystate, Button4status, 1Joy4

if (Button4status = "D") { ; If 1Joy13 and 1Joy4 is pressed, centre or pause TrackIR

if (x < 500) ; If hotkey was held for less than 0.50 seconds, 500 ms

Send {F15} ; Send the key F15

else if (x > 500) ; If hotkey was held for more than 0.50 seconds, 500 ms

Send {F16} ; Send the key F16

return

}

return

jgVplRQ.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...