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

AttributeError: 'NoneType' object has no attribute 'axis' #17

Open
belgacea opened this issue Nov 27, 2024 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'axis' #17

belgacea opened this issue Nov 27, 2024 · 0 comments

Comments

@belgacea
Copy link

belgacea commented Nov 27, 2024

Hello, I'm trying to get vJoy and JoystickGremlinSC 13.40.14-sc.1 working with patch 3.24.3.
I was able to import vJoy order check profile and to run SC vJoy Mapper just fine when on desktop, but couldn't when inside the game. I can see keypress for each vjoy btn, but not after alt tabing ingame.
First I thought it was a conflict with my logi ghub keyboard profile, so I set a permanent profile to check and it wasn't. I made sure I activated the JG profile btw. I also got the same issue with JoystickGremlinEx 13.40.16ex m37, even after switching legacy remap to vjoy remap.
Except that, everything seems to work. I even was able to import the T16000m profile. Did I missed something ?

Edit:
SC was running as admin which apparently prevented vjoy devices to work.
I can find SC vjoy order now and import T16000m jg profile, but I get an error when activating it.
Buttons seems to work properly, but not the axis which I guess is because of the error. Any ideas ?

Uncaught exception:
Traceback (most recent call last):
   File "C:\Users\<name>\AppData\Roaming\H2ik\Joystick Gremlin SC\action_plugins\map_to_sc\__init__.py", line 288, in _mode_changed_cb
    current_joy_value = self.joy.axis(self.hardware_input_id).value
                        ^^^^^^^^^^^^^
 AttributeError: 'NoneType' object has no attribute 'axis'
@belgacea belgacea changed the title vJoy not active ingame AttributeError: 'NoneType' object has no attribute 'axis' Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant