Giter VIP home page Giter VIP logo

controllerbuddy-profiles's People

Contributors

bwravencl avatar dependabot[bot] avatar sa-matteohausner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

controllerbuddy-profiles's Issues

Add configuration scripts for Condor 2, DCS World and Falcon BMS

Goal:

The ultimate goal is to add scripts for each target application that automatically apply the necessary configuration changes - i.e. no manual configuration of the target application (axis / button assignments, etc.) should be necessary anymore if the script was run.

Naming and placement convention: each script shall be placed under configs/${PROFILE_NAME}/Configure.xxx

Retrieving the DirectInput instance GUID of the first vJoy device:

Condor 2:

  • The input configs are located under Documents\Condor\Pilots\${PILOT_NAME}\controls.ini
  • It must contain blocks for both the keyboard and the vJoy device
  • A block begins with [{${DEVICE_INSTANCE_GUID}}]
  • TBD: instead of copying a whole prepopulated file, where both GUIDs must be replaced appropriately, it might be enough to simply overwrite the file and add only the block for the vJoy device:
[{${VJOY_DEVICE_INSTANCE_GUID}}]
0=0
1=4
2=20
3=8
  • Additionally it must be ensured that the config files located under Documents\Condor\Pilots\${PILOT_NAME}\Setup.ini contains exactly the following input section:
[Input]
ForceFeedback=0
AutoRudder=0
ReverseRudder=0
StickTrim=0
MouseLook=1
LeftButtonForMouseLook=0
AileronsNonLinearity=6
AileronsRatio=10
ElevatorNonLinearity=6
ElevatorRatio=10
RudderNonLinearity=6
RudderRatio=10
StickForceSimulation=4
PedalsForceSimulation=4
ViewSmoothing=3
StickCenterWithHandOff=1
VerticalViewCenter=0

DCS World:

Perform the following steps for both the DCS Stable and Open Beta config directories:

  • Copy the config files to their target locations (can be derived from source filename and instance GUID)
  • Create / modify the Config\Input\disabled.lua file (should contain all present input devices except vJoy device)

Falcon BMS:

  • Locate the BMS directory via registry: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Benchmark Sims\Falcon BMS 4.37\baseDir
  • Enumerate all DirectInput devices
  • For each input device create the appropriate XML file under Falcon BMS 4.xx\User\Config\Setup.v100.${DEVICE_NAME} {${DEVICE_INSTANCE_GUID}}:
    • vJoy device: an XML with the default assignments
    • all other devices: an XML with no assignments

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.