New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to bind button to C172p knobs and levers #890
Comments
Hmm, I don't have a joystick any longer to test this, but I would suppose that if the OP can use Nasal to map the buttons, then he should be able to map a button to toggle a certain property. So then it's just up to him/her to get a list of the properties being used for those switches/toggles (one can take a look at |
Gilberto is right.
Generally, in the JS file, it should look like
|
ok but i'm not sure how to express this back to the OP on the forums... i don't know how they are doing the mapping... i figured they were using the mapping options in the sim where you can set the buttons to what you want... i don't know... i didn't want them to get discouraged about the craft which is why i posted their message here with the link... |
@wkitty42 I don't understand what you are saying.
You can point him to this page, for instance
Neither do we, but if he is able to use Nasal to assign buttons then what @dany93 and I wrote should be trivial
Why would they get discouraged with our answer? I really can't see what you mean. |
He tried using the sim mapping options (Joystick Configuration)
but he is looking for more, particular options. He seems to know how to map a joystick if he has the binding
It is not an issue of nasal or not (I guess it is copied). Even if someone knows how to write bindings in a JS config file, the most difficult can be to find the bindings (properties, instruction lines) for a particular aircraft. Even worst if he is not used to find and read aircraft xml files. |
On 12/07/2016 03:23 AM, Gilberto Agostinho wrote:
You can point him to this page, for instance
thank you... i started to do that and thought of how much an issue to this craft
this really is... but based on your reply and my having some sleep, i will do
exactly that now :)
|
Yes, we should have responded directly in the US FG forum. |
What should we do with this issue? |
@onox I think this should be closed. It has been quite a long time since the user posed that in the forum and he hasn't responded, so I would consider this as solved from his side. Moreover, this whole discussion is preserved when we close the issue, so anyone browsing our repo or that forum thread can read the solution. |
Also, it doesn't have anything to do with our plane, just how FG works. |
dropping this here so that is it not missed...
https://forum.flightgear.org/viewtopic.php?f=24&t=31175
The text was updated successfully, but these errors were encountered: