Skip to content

Suggestion: BetterMouseYoke #4

@winkerbie

Description

@winkerbie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions