Martin Spott <[EMAIL PROTECTED]> said: > Should this be working already ? The current CVS tree does not contain this > funcionality. I have: > > v: forward cycle > shift-v: return to view 0 > control-v: jump to some view following a schema I did not understand ;-) > > May this probably be related to different keyboard layouts (I have a german > layout ) ? > > Martin. > P.S.: There are similar issues with the magneto switches who don't follow > the intended layout on non-English keyboards: I have to key AltGr-Q > before I can dial the second magneto switch on a C-310 (instead of > Shift-2),
Hi Martin, That is correct. V forward cycles, and Shift+V returns to view 0. ctrl+V doesn't do anything so if you want to bind that go ahead. I just didn't do the xml for the reverse scrolling. (CTRL+v should do nothing currently.) A specific coded fg_command is not necessary. Any view can be selected by setting the property "/sim/current-view/view-number". Reversing can be accomplished by decreasing the "view-number" value until it gets to zero and after that assign it the value stored in the property "/sim/number-views" so we start counting from the top again. Alternatively you could use the "wrap" feature and hardcode a "min" and "max" in the xml, but that is slightly less desireable since it requires changing the "number of views" in two different files when a new view is added (once in preferences.xml and once in keyboard.xml). I haven't used non-English keyboards much, except when visiting my brother in DK, so I'm not versed in how much variation there can be. It sounds like we should have language specific xml files for keyboard config and then change the root keyboard.xml so it just includes the appropriate language specific file based on a keyboard language parameter. Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
