JoystickGremlin icon indicating copy to clipboard operation
JoystickGremlin copied to clipboard

Axis Default Position

Open f0gy opened this issue 1 year ago • 9 comments

How can I change the default position for axes from this: Untitled

to this: Untitled2

Since until I move the joystick for input, the game registers input as 50% active constantly.

f0gy avatar Aug 28 '22 19:08 f0gy

To add:

Default initialization of vJoy axis values in the settings tab does not work. (Tried all 8 axes)

f0gy avatar Aug 30 '22 21:08 f0gy

That function is for exactly that purpose and works as expected on my system when I just tested it. It only kicks in when you activate a profile but I suspect that you've done this given you see vJoy outputs in the input viewer. I'm not exactly sure why that function wouldn't work in your case though. Is there anything you do that you wouldn't consider "normal" in your setup?

WhiteMagic avatar Aug 31 '22 07:08 WhiteMagic

Thanks for responding back.

I reinstalled my windows (clean from usb) just two days ago since I thought I had some issues with windows initially due to trying other virtual input emulators as well. Right now my setup is as standard as it gets with default settings with just games, vJoy, Joystick Gremlin and some other basic apps I use such as Discord. I didn't even install a browser to keep it simple.

Here is a video I recorded to demonstrate my issue, for each new process/game, the input is registered as at half (0% as the range is -100% to 100%). Hence whenever I start a game, my handbrake is always pulled halfway through until I pull the handbrake to register an input other than 0%. https://user-images.githubusercontent.com/112344532/187766572-748957d9-e2a7-4e55-8bf2-0ba793c7cb81.mp4

Also my config file for Joystick Gremlin (converted to txt, to be able to upload to GitHub).

s_hb_bb.txt

f0gy avatar Aug 31 '22 19:08 f0gy

The link doesn't seem to work, but I think I know what's going on. You have a vJoy device that has one axis, but it's the RX one, which is axis 4 internally for Gremlin. In the default axis values, you have configured a value for axis 1, but that one doesn't exist (under that ID at least). So try changing the default value for axis 4 / rx.

WhiteMagic avatar Aug 31 '22 21:08 WhiteMagic

The issue persists with all axes enabled in vJoy config, and handbrake set to first axis.

The updated config file: updated.txt

Also previous video but through a Google Drive link: https://drive.google.com/file/d/1TovlLKc1D2tfL7VOBV5Lrdhy-iWe3uwm/view?usp=sharing

f0gy avatar Aug 31 '22 21:08 f0gy

Whether or not a vJoy axis is being mapped to shouldn't make a difference for the default value aspect. So that configuration should set all axes to -1 upon activating the profile. Given it doesn't, have you tried creating an entirely new profile, just to exclude any odd remnants in the profile.

WhiteMagic avatar Sep 02 '22 12:09 WhiteMagic

Unfortunately a new profile with only axis mapped did not work (I made sure to set the initialization value to -1 for the new profile). I also tried adding a new vJoy device #2, with different number of axes and buttons, and created a new profile for it but that did not work as well.

f0gy avatar Sep 02 '22 22:09 f0gy

That's definitely odd but also problematic, because I don't see that behaviour and there isn't really any good way to further debug this when the most simple setup behaves abnormally.

WhiteMagic avatar Sep 30 '22 10:09 WhiteMagic

Did you ever figure it out ? I have the same issue, the Settings tab doesn't make any difference for default values. I tried creating a new profile, creating a new vJoy device, trying with a different Gremlin version, but nothing works.

Weird thing is that it worked at some point then stopped out of nowhere !

Chpouky avatar Jun 30 '24 09:06 Chpouky