<commit_before>Analog Joysticks
================

This is a modified work of:
https://code.google.com/p/mobile-anarchy-widgets/

for use with Godot Engine

How to use
----------
Recompile the Java Android project (https://github.com/okamstudio/godot/wiki/compiling_android)

Configuring your game
---------------------

To enable the module on Android, add the path to the module to the "modules" property on the [android] section of your engine.cfg file. It should look like this:

	[android]
	modules="com/android/godot/GodotAnalogJoy"

Note this is a comma separated list inside a string, you can have other modules there.

The singleton "AnalogJoy" will be available on gdscript.

API Reference
-------------

The following methods are available:

        void ShowJoy();
        void HideJoy();
        int GetLeftPan();
        int GetLeftTilt();
        int GetRightPan();
        int GetRightTilt();
        bool LeftReleased();
        bool LeftReturned();
        bool RightReleased();
        bool RightReturned();


Issues
------

The joystick is initialized on godot opening but doesnt show (only after a resume).
So we need to hide from a GDScript!

After we only need to show or hide when needed!


<commit_msg>changes<commit_after>Analog Joysticks
================

This is a modified work of:
https://code.google.com/p/mobile-anarchy-widgets/

for use with Godot Engine

How to use
----------
Recompile the Java Android project (https://github.com/okamstudio/godot/wiki/compiling_android)

Configuring your game
---------------------

To enable the module on Android, add the path to the module to the "modules" property on the [android] section of your engine.cfg file. It should look like this:

	[android]
	modules="com/android/godot/GodotAnalogJoy"

Note this is a comma separated list inside a string, you can have other modules there.

The singleton "AnalogJoy" will be available on gdscript.

API Reference
-------------

The following methods are available:

        void ShowJoy();
        void HideJoy();
        int GetLeftPan();
        int GetLeftTilt();
        int GetRightPan();
        int GetRightTilt();
        bool LeftReleased();
        bool LeftReturned();
        bool RightReleased();
        bool RightReturned();


Issues
------

The joystick is initialized on godot opening but doesnt show (only after a resume).
So we need to hide from a GDScript!

After, we only need to show or hide when needed!



{'fraction_non_alphanumeric': 0.12055578259092767, 'fraction_numerical': 0.0, 'mean_word_length': 2.8309859154929575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4680867', 'n_tokens_mistral': 688, 'n_tokens_neox': 660, 'n_words': 282}