Open thymjan opened 6 years ago
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
Or ~/.picraftzero.cfg
You only need to insert the section you want to override
e.g. [joystick_0] invert_y_axis=yes
Thanks for your help. Did as you told me. Now the Rock Candy controller with macos is inversed. The ios onscreen touch control also.
As I mentioned, it's global, not iOS or device specific, that's the way it is at the moment.
Do you remember issue https://github.com/WayneKeenan/picraftzero/issues/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?
no, forgot all about that, what version are you using in regards to this issue? PyPi release or installed from Git ?
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.
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?