Git Product home page Git Product logo

warthog-config's Introduction

Thrustmaster HOTAS Warthog™ Configuration Tool

HOTAS Warthog

build

Command-line tool that can be used to control the LEDs of a Thrustmaster HOTAS Warthog throttle.

Download

https://github.com/Gmentsik/warthog-config/releases

Usage

$ ./warthog-config --help
Command-line tool that can be used to control the LEDs of a Thrustmaster HOTAS Warthog throttle.

USAGE:
    warthog-config [FLAGS] [OPTIONS]

FLAGS:
    -h, --help         Print help information
    -r, --read-only    Only show the current state, don't change the LEDs
    -V, --version      Print version information

OPTIONS:
    -1, --led-1 <led-1>            Turn the first LED on or off, use 0 to turn it off or 1 to turn it on
    -2, --led-2 <led-2>            Turn the second LED on or off, use 0 to turn it off or 1 to turn it on
    -3, --led-3 <led-3>            Turn the third LED on or off, use 0 to turn it off or 1 to turn it on
    -4, --led-4 <led-4>            Turn the fourth LED on or off, use 0 to turn it off or 1 to turn it on
    -5, --led-5 <led-5>            Turn the fifth LED on or off, use 0 to turn it off or 1 to turn it on
    -b <backlight>                 Turn the backlight on or off, default on, use 0 to turn it off or 1 to turn it on
    -i, --intensity <intensity>    Set the intensity of the backlight (0-5, where 0 in off and 5 is the brightest) [default: 2]
    -l, --leds <leds>              Turn the all LEDs on or off, use 0 to turn it off or 1 to turn it on

Examples

  • Disable all the LEDs

    ./warthog-config -l 0
  • Disable all the LEDs enable backlight

    ./warthog-config -b 1 -l 0
  • Disable all the LEDs and backlight

    ./warthog-config -b 0 -l 0
  • Set LED 4 ON, leaving rest as-is

    ./warthog-config -4 1
  • Set LED 5 ON LED 1 ON LED 3 OFF, leaving rest as-is

    ./warthog-config -1 1 -5 1 -3 0
  • Set backlight intensity to max

    ./warthog-config -i 5

How to use with Microsoft Flight Simulator

  1. Download & Install SPAD.neXt (https://www.spadnext.com/download/download-spad-next.html)
  2. Go to Settings -> Devices -> Scriptpanel and turn on Script-Panel Support
  3. A new icon should appear between profiles and devices in the left-hand vertical menue
  4. Click on Add Event -> Conditional Action
  5. Here you can define the contion (eg. AUTOPILOT MASTER equals 1)
  6. As action add "Advanced -> Run external Program"
  7. Point to the exe you downloaded here from the releases page in the field "Executable" (eg "G:\warthog-config.exe")
  8. In the command-line arguments field you can write anything, check the examples above. (eg "-5 1" to turn LED 5 on)

warthog-config's People

Contributors

jeandeaual avatar

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.