sparker256 / xbtn2cmd

X-Plane 11 new GUI window to map buttons to commands in VR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xbtn2cmd for X-Plane 12

CMake

Alt text

X-Plane 12 Window API to map buttons to commands in VR

Building Xbtn2cmd from source

On windows

  1. Install required software using Chocolatey using admin command prompt:

    choco install git
    choco install cmake --installargs '"ADD_CMAKE_TO_PATH=System"'
    choco install mingw --version 8.1.0
    

    You can also install the same programs manually if you prefer.

  2. Checkout and configure the project:

    git clone https://github.com/sparker256/xbtn2cmd.git
    cd xbtn2cmd
    cmake -G "MinGW Makefiles" -S .\src -B .\build -DCMAKE_BUILD_TYPE=RelWithDebInfo
    
  3. Build the project and copy the plugin DLL into the appropriate directory:

    cmake --build .\build
    cp .\build\win.xpl .\Xbtn2cmd\64\
    

On Ubuntu:

  1. Install required software:

    sudo apt-get install -y --no-install-recommends build-essential cmake git freeglut3-dev libudev-dev libopenal-dev
    
    
  2. Checkout and configure the project:

    git clone https://github.com/sparker256/xbtn2cmd.git
    cd xbtn2cmd
    cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo
    
  3. Build the project and copy the plugin DLL into the appropriate directory:

    cmake --build ./build
    mkdir ./Xbtn2cmd/64
    cp ./build/lin.xpl ./Xbtn2cmd/64/
    

On OS X:

  1. Install XCode, Git, CMake (Homebrew can be convenient for this).

  2. Checkout and configure the project:

    git clone https://github.com/sparker256/xbtn2cmd.git
    cd xbtn2cmd
    cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo
    
  3. Build the project and copy the plugin DLL into the appropriate directory:

    cmake --build ./build
    mkdir ./Xbtn2cmd/64
    cp ./build/mac.xpl ./Xbtn2cmd/64/
    

About

X-Plane 11 new GUI window to map buttons to commands in VR

License:GNU General Public License v3.0


Languages

Language:C++ 48.6%Language:Pascal 25.7%Language:C 24.8%Language:CMake 0.5%Language:QMake 0.2%Language:Shell 0.1%Language:Lua 0.0%Language:Objective-C++ 0.0%