TARGET scripting software to PWM HOTAS inputs into Duty Cycle timed keypresses.
This is the first public release of a PWM keypress system for a joystick axis of rotation.
The idea was that I wanted a block of time (currently at 100ms can be change in script) to represent the range of motion from center to the max value of an axis. With a minimum buffer of a keypress to make sure that all input is properly executed (current set a 25ms can be change in script). This was not a simple task as I have been though no less than 5 code designs. This is a very close to finished script base. The basic functions all work and polling for values and PWM cycles work on 100ms as default you can increase or decrese it but it can cause issues. As most games and/or windows discard any keypress less than 10-25ms.
I have built in the ability to use the T16000.m Dual sticks (NO TESTING OF T1600.M HAS BEEN DONE YET).- Build a default keymap for flight controls.
- Build referance PDF's for flight control functions.
- TM T.Flight Rudder Pedals (TFRP) - in Flight Mode
- Planned features:
- Switchable throttle maps
- Switchable Joystick maps
Internal comm switch and external coms switch or both toggle with visual.- Posable TrackIR/FaceTrack controls
- Posable VoiceCommand intgrations
- More to come as Starbase comes out
This system was designed with flight in mind for Starbase. But this system can be addapted to almost any game. Some functions will take more 'magic' to intergrate but TARGET has a high degree of coustamizablity. As this script can attribute to.
Thrustmaster (TM) Warthog HOTAS – Throttle and Joystick
or
ThrustMaster (TM) T.16000M FCS Space Sim Duo
ThrustMaster (TM) T.16000M FCM Flight Pack
TWCS Throttle
TPR Rudder
TCA Officer Pack Airbus Edition and its throttles or single stick
- Thrustmaster US website: http://www.thrustmaster.com/en_US
- Thrustmaster US support: http://www.thrustmaster.com/en_US/support
- Thrustmaster US Warthog HOTAS downloads: https://support.thrustmaster.com/en/product/hotaswarthog-en/\
- Thrustmaster US FTRP downloads: https://support.thrustmaster.com/en/product/tfrp-en/
- Target software found in download link above under software as of this writing on July 18, 2021 the file name was T.A.R.G.E.T.-Software v3.0.18.328 . There is no direct link I can give. The version number will change in the future.
- Download and extract the latest ‘source’ files. Releases
- Unpack zip and keep all files in same directory.
- Open ‘TARGET Script Editor’ Open and Compile ‘Analog_WSAD_Profile.tmc'.
- Edit 'Analog_WSAD_User_Settings.ttm' save changes if any.
- Close ‘TARGET Script Editor’ window.
- Launch ‘TARGET GUI’ and ‘Run Configuration’ on 'Analog_WSAD_Profile.tmc'.
- You can also run the configuration from the Script Editor.
- The following binds are built in but can be changed in the Analog_WSAD_Keymapings.ttm
- ThrottleUp USB[0x57] //numpad + throttle step up
- AltThrottleUp USB[0x55] //numpad * alternate throttle step up
- ThrottleDown USB[0x56] //numpad - throttle step down
- AltThrottleDown USB[0x54] //numpad / alternate throttle step down
- TrimInc USB[0x59] //numpad 1 trim increase step up
- TrimDecr USB[0x5A] //numpad 2 trim decrease step down
- PitchDown USB[0x16] //s pitch down, nose down
- PitchUp USB[0x1A] //w pitch up, nose up
- RollRight USB[0x07] //d roll right, roll clockwise
- RollLeft USB[0x04] //a roll left, roll anti-clockwise
- YawRight USB[0x08] //e yaw right, nose right
- YawLeft USB[0x14] //q yaw left, nose left
- ThrustUp USB[0x52] //up arrow translate, accend, stafe thrust
- ThrustDown USB[0x51] //down arrow translate, decend, thrust down
- ThrustRight USB[0x4F] //right arrow translate, strafe,thrust right
- ThrustLeft USB[0x50] //left arrow translate, strafe,thrust left
- Launch save game and enjoy.