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

ios gamepad-controller: forward / backward reversed #60

Open
thymjan opened this issue May 19, 2018 · 8 comments
Open

ios gamepad-controller: forward / backward reversed #60

thymjan opened this issue May 19, 2018 · 8 comments

Comments

@thymjan
Copy link

thymjan commented May 19, 2018

I‘ve connected a steelseries wireless gamepad-controller to my iPad: After pressing the „A“-button it worked flawlessly!
Only the direction for forward / backward is reversed.
Is there an option to change the assignment for directions with ios-devices?

@WayneKeenan
Copy link
Owner

There is a global and user config file, it's not specific to iOS clients though.

This is the template https://github.com/WayneKeenan/picraftzero/blob/master/picraftzero/resources/config/picraftzero.cfg

Look at the 'joystick_0' section

It can be placed in /etc/picraftzero.cfg

@WayneKeenan
Copy link
Owner

Or ~/.picraftzero.cfg

@WayneKeenan
Copy link
Owner

WayneKeenan commented May 19, 2018

You only need to insert the section you want to override

e.g.
[joystick_0]
invert_y_axis=yes

@thymjan
Copy link
Author

thymjan commented May 19, 2018

Thanks for your help. Did as you told me. Now the Rock Candy controller with macos is inversed. The ios onscreen touch control also.

@WayneKeenan
Copy link
Owner

As I mentioned, it's global, not iOS or device specific, that's the way it is at the moment.

@thymjan
Copy link
Author

thymjan commented May 19, 2018

Do you remember issue #47? I mentioned the same problem with macos. You wrote to always invert joypad y-axis with html5. So macos and ios doesn't have the same html5 behaviour? So the bug is in macos?

@WayneKeenan
Copy link
Owner

no, forgot all about that, what version are you using in regards to this issue? PyPi release or installed from Git ?

@thymjan
Copy link
Author

thymjan commented May 20, 2018

I think I've did this:
update to the latest repository

sudo pip3 uninstall picraftzero
sudo pip3 install git+https://github.com/WayneKeenan/picraftzero

.. some time has passed since then.

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

2 participants