-
Notifications
You must be signed in to change notification settings - Fork 12
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
Remaping Two Controlers into a single Virtual Controler #47
Comments
The The
These arguments seem to do nothing effectively nothing. They all map events to the same event and then yield the event. Yielding events is not necessary unless you need to prevent later maps from affecting the generated events (e.g. if you map A to B, and then do not want a later map to turn that B into a C.) Also, there are two sets of the same four lines. I think you intended the latter set to use
These maps probably do not do what you think they do. They mean "if device J generates an abs:x event with a value of 0 or less, and the next abs:x event has a value of 1023 or greater, then create an abs:rx event with the value of the latter event". I do have more thoughts about the situation, but I decided to scrap the long story I was writing here because it is not clear exactly what you're trying to accomplish and what is going wrong, so I might just be rambling about unrelated stuff. Could you run the following simplified script with yields removed and prints inserted, and point out which events do not have the value that you want them to have?
|
I've been trying to get this to work for the last 4 or 5 hours, so I'm not sure if it's me not getting it or what. :(
Basically I'm trying to map a HOTAS Setup (Joystick + Throttle) in a single Virtual Sick, I've manage to actually do so, but allot of the keys have the same designation so it becomes a mess of both controllers "pressing" the same key.
As such I'm trying to map these to the equivalent of a XBox controller (mostly because it fits my specific usecase), I was using the example in the Readme to go about doing it but I've run into a issue.
I'm trying to map the x and y axis on the Throttle controller (it has a mini stick) the --print gives me a range of 0 ~ 1023 but the virtual one ends up in something like -23000 ~ 23000, making it unusable.
As far as I've speculated it might be because the mapping has the same name in both the original device to the virtual one?
But the
rel:y:0.25x
doesn't even seem to do any difference do anything vs justrel:y
.I've also tried
But for some reason I can't use --rel-to-abs
The text was updated successfully, but these errors were encountered: