Code Monkey home page Code Monkey logo

xpplugins's Introduction

XPPlugins

A collection of various small plugins for X-Plane 11 that mostly improve usability.

It currently includes

  • ToggleMouseLook
    Adds new commands that mimic the mouse look behaviour of Prepar3D.
  • BetterMouseYoke
    Removes the centered + sign with the squared box around it and adds a new command that lets you toggle mouse yoke control on or off.
  • MouseButtons
    A plugin that frees up the underused mouse in X-Plane 11 and let's you bind arbitrary commands to any of your mouse buttons and/or mouse wheel.
  • CycleQuickLooks
    Adds two new commands for cycling through a plane's configured quick looks.
  • PluginLoader
    Enables dynamic loading and unloading of X-Plane 11 plugins under Windows.
  • A320UE
    Adds a couple of new commands and other tweaks to the FF A320 Ultimate to make it even more enjoyable to fly.
  • XPMods
    A PowerShell script for safely installing and/or uninstalling mods that replace or modify existing XP files.

Building

Under Windows either simply run msbuild.exe or just open XPPlugins.sln in Visual Studio and build the solution.

For MacOSX you can just do a make all.

xpplugins's People

Contributors

smiley22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xpplugins's Issues

Editing the file.

I love this plugin, but the magenta text and the green bars sometimes can be annoying or can interfere with the immersion. Is there any way to remove these things?

Thanks.

Better Mouse Yolk breaks on multiple monitors

Using a 3 monitor setup, when X-Plane is on the right monitor, the plugin will seem to work but the yolk will be all the way to the right no matter what I do. When testing with one monitor this was not an issue.

A319 Tolis

after taking off in the plugin let it work in the a319 tolis

Version for Linux?

Hi, this may not be possible, but any chance of a version that will run on Linux, when i try compile the source I get:
../XP/Libs/XPLM: file not recognized: file format not recognized clang: error: linker command failed with exit code 1 (use -v to see invocation)
It looks like there are only library files for Mac and Windows provided by the SDK?
I'm running 64 bit Debian Linux and fairly technically-minded if you need me to try code, I'm only really instrested in BetterMouseYoke to get rid of the annoying square. I may have a look into writing my own, but why re-invent the wheel.

Uninstall Problem

Better mouse yoke don't work at all, and after I delete it in the plugin folder and back to X-plane, the original yoke disappeared. How can I solve this problem?

Uninstallation Issue

I had some problems with some aircrafts, for example with Toliss A319 that after takeoff, the controls over the aircraft disables.
I tried to uninstall it that at least I will able to fly it with the annoying mouse "+" box, but after uninstallation of this plugin I couldnt find that "+" box anymore.
Any help?

Suggestion: BetterMouseYoke

Hey, great plugin,

Just wondering if you could add a cross on the centre screen representing where the yoke is 'centred'. It's difficult to tell otherwise if you are still deflecting the ailerons/elevators unless you come out of yoke mode.

Code below

if (rudder_control) {
            /* Draw little bars to indicate maximum rudder deflection. */
            for (int i = 1; i < 3; i++) {
                XPLMDrawString(green, cursor_pos[0] - rudder_defl_dist,
                    cursor_pos[1] + 4 - 7 * i, "|", NULL, xplmFont_Basic);
                XPLMDrawString(green, cursor_pos[0] + rudder_defl_dist,
                    cursor_pos[1] + 4 - 7 * i, "|", NULL, xplmFont_Basic);
            }        
        }
        else {
            XPLMDrawString(green, screen_width/2,
                screen_height/2, "+", NULL, xplmFont_Basic);
        }

Thanks

Apple M1 chip issues

When doing the command make all, it doesn't do anything, instead, it gives out this error
/Library/Developer/CommandLineTools/usr/bin/make -C Util all make[1]: Nothing to be done for 'all'. /Library/Developer/CommandLineTools/usr/bin/make -C CycleQuickLooks all clang -o mac.xpl plugin.c -Wall -DAPL -O2 ../XP/Libs/XPLM ../Util/util.a -dynamiclib -fvisibility=hidden plugin.c:89:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] int index = (int) param; ^~~~~~~~~~~ 1 warning generated. ld: warning: ignoring file ../XP/Libs/XPLM, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_XPLMCommandOnce", referenced from: _cycle_quick_look_cb in plugin-84ff49.o "_XPLMCreateCommand", referenced from: _cycle_quick_look_cb in plugin-84ff49.o _cmd_create in util.a(cmd.o) "_XPLMDebugString", referenced from: __log in util.a(log.o) __debug in util.a(log.o) "_XPLMEnableFeature", referenced from: _XPluginStart in plugin-84ff49.o _get_plugin_dir in util.a(path.o) _get_data_path in util.a(path.o) "_XPLMGetMyID", referenced from: _get_plugin_dir in util.a(path.o) _get_plugin_name in util.a(path.o) _get_data_path in util.a(path.o) "_XPLMGetNthAircraftModel", referenced from: _get_quick_looks in plugin-84ff49.o "_XPLMGetPluginInfo", referenced from: _get_plugin_dir in util.a(path.o) _get_plugin_name in util.a(path.o) _get_data_path in util.a(path.o) "_XPLMRegisterCommandHandler", referenced from: _cmd_create in util.a(cmd.o) "_XPLMUnregisterCommandHandler", referenced from: _cmd_free in util.a(cmd.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [mac.xpl] Error 1 make: *** [CycleQuickLooks] Error 2

Any ideas? Or fixes?

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.