Skip to content
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

Feature Request: OSC-PAD to vJoy-PAD #301

Open
SyFiD opened this issue Jan 21, 2025 · 3 comments
Open

Feature Request: OSC-PAD to vJoy-PAD #301

SyFiD opened this issue Jan 21, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@SyFiD
Copy link

SyFiD commented Jan 21, 2025

Hello muchimi,
I would like to have a function in JGEx that allows me to transfer the movement from an OSC pad (xy) to vJoy so that I can use it like a pad.
Unfortunately I have not found a way in JGEx to move 2 axes at the same time, because in OSC it only outputs one ID (xy_1) which moves x and y at the same time. Here I have a screenshot from OpenStageControl, which might show what I mean.
The action “Vjoy Remap” unfortunately only supports one axis.
“Map to Gamepad” only supports buttons and cannot read OSC commands too.
Do you have any other ideas on how to do this with the means already available in JGEx?

Image

@SyFiD
Copy link
Author

SyFiD commented Jan 21, 2025

I hope such a function would not be too much of a challenge for you.

An application example would be
Moving the laser with the tablet instead of the joystick, TrackIR or mouse while salvaging in StarCitizen and controlling the ship at the same time.
OSC also offers the option of making several inputs simultaneously on one pad. For 2 lasers, for example.
Just for the future... ;-)

Image

@SyFiD SyFiD changed the title New Feature: OSC-PAD to vJoy-PAD Feature Request: OSC-PAD to vJoy-PAD Jan 21, 2025
@muchimi
Copy link
Owner

muchimi commented Jan 21, 2025

XY pads has come up and it's unique to OSC.
There are two variants:
One is the XY pad that sends one command with two arguments (x and y).
The other is the XY pad that ends two commands, each with one argument.
The other side of this is mapping to two concurrent axes. That's going to be harder but feasible. Let me think on this some more.
Meanwhile, user plugin will easily let you do this if the UI doesn't.

@muchimi muchimi added the enhancement New feature or request label Jan 21, 2025
@muchimi
Copy link
Owner

muchimi commented Jan 21, 2025

OSC is very powerful and two way as well, that's the other piece I am looking into is how to make bi-directional.
The GremlinEx API completely supports this from a user script, and demo code is posted on how to do this (it may need some work but the gist of it is in there).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants