Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt at optimizing arcade1&2.py by -Single common auto-calibration function which calibrates more quickly the controller's min-max value intervals for all directional EV_ABS to EV_KEY conversion functions, without the former need for a full stroke in both directions of one axis to calibrate, and finds most used value intervals of the INT16 value variable in increments of 2^x from -32767 to 32767 -Quicker EV_ABS to EV_KEY directional conversion functions with far fewer if branches for every joystick movement -Moved axes inversion boolean variables branches to lambda function in config section -Cleaned up variable and function names, switched to boolean variables for True/False global variable settings -Attempt at clarifying the use/own modifications of arcade1&2.py with more code comments and reformating of the code
- Loading branch information