c172p-team / c172p

A high detailed version of the Cessna 172P aircraft for FlightGear
GNU General Public License v2.0
79 stars 44 forks source link

Some knobs have inverted scrolling #391

Closed gilbertohasnofb closed 9 years ago

gilbertohasnofb commented 9 years ago

Some knobs have inverted scrolling when using the mouse wheel. That is, scrolling up should raise their values and NOT diminish them. The problematic knobs are:

onox commented 9 years ago

Transponder setting (N1 HLD N2)

Do you mean DME setting?

gilbertohasnofb commented 9 years ago

Yep, that's what I meant.

onox commented 9 years ago

Fixed the DME knob in PR #394 (it used to be non-scrollable)

onox commented 9 years ago

@gilbertohasnofb Fixing the scrolling means though that left clicking becomes "decrease" and middle clicking "increase". But I think scrolling knobs is more important.

gilbertohasnofb commented 9 years ago

I think scrolling knobs is more important.

Absolutely!

onox commented 9 years ago

@gilbertohasnofb I found a much better solution, setting /sim/mouse/invert-mouse-wheel to true.

I just need to fix:

gilbertohasnofb commented 9 years ago

I found a much better solution

Great! Once this work is done I will test the PR, okay? Thanks a lot for the work, @onox!

onox commented 9 years ago

@gilbertohasnofb Sure, shouldn't take too long.

onox commented 9 years ago

@gilbertohasnofb Can you find out what the outer and inner dial of the ADF instrument should do? They both currently change the standby KHz frequency.

gilbertohasnofb commented 9 years ago

I will have a look on that now.

gilbertohasnofb commented 9 years ago

Hmm, it seems that the KR 87 should have the possibility of having decimal numbers for the ADF, and then the outer knob would increment 0.1 kHz. See how the panel should have 5 seven-segment displays for each frequency but ours has only three:

KR87

From: http://www.baron58.com/kr87.htm

gilbertohasnofb commented 9 years ago

UPDATE: this image above is incorrect, Bendix manual says the range is 200KHz to 1799KHz in 1 KHz increments and so our KR87 is correct. But then I don't know how the dials work. Maybe the outer one increments 1 KHz while the inner increments 10 or 100 KHz (as else to go from 200 to 1000 KHz would take 800 clicks!!).

onox commented 9 years ago

I'll make the outer 100 KHz, that's what the <shift-action> uses.

gilbertohasnofb commented 9 years ago

Sounds good.

onox commented 9 years ago

@gilbertohasnofb Can you test branch bug-391? See https://github.com/Juanvvc/c172p-detailed/issues/391#issuecomment-120494711

onox commented 9 years ago

I need to make some of the dials rotatable and then I'll create a PR.

gilbertohasnofb commented 9 years ago

Checked, all seem to be working perfectly.

onox commented 9 years ago

@gilbertohasnofb Fixed knobs of attitude indicator, altimeter, and nav 1 and nav 2 radials.

gilbertohasnofb commented 9 years ago

Thanks, all works super well!

onox commented 9 years ago

Cool! :smile: