Android Gamepad support issues

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello,

    Does anybody tested an android gamepad called "GameSir X2S Bluetooth"? (cf: Please login to see this link.)
    I got an user complaining about his gamepad not working with my game.

    I use the Android Object to detect if a gamepad is connected:

    Code
    + Android object : Is a controller with gamepad connected?
     OR
    + Android object : Is a controller with joystick connected?
     OR
    + Android object : Is a controller with DPAD connected?

    Then once detected, i use the AndroidTV Controller object to manage inputs.

    How to know if it's the Android object or the AndroidTV Controller object that doesn't support the gamepad? Is it possible to support more gamepads?

    Thank you for your help.

  • Hello,

    I have the gamesir x2 pro and I can confirm that it doesn't work with AndroidTV Controller and even Android object doesn't detect it. By the way, I tested this controller with a few games I have on my phone and some of them doesn't work with this gamepad (like Call of duty).

    Anyway, the only solution I found was to switch to SDL object (made by Phi, available on his patreon). This extension works with all the controllers I have (Gamesir, Xbox gamepad, etc.), is cross plateform (so I have the same code for windows and Android) and allows to use every buttons of the controller (AndroidTV Controller doesn't detect triggers)

    The only thing that doesn't seem to work with SDL object is to make my xbox controler vibrate on Android... (but ot works on Windows)

  • Honestly, you generally may be better off with SDL, as it's much newer, and has many features with proper documentation..

    Only thing is it's paid, I think it was 5$ per runtime?

    Game/App developer, artist and a community contributor.
    You can support my work on: Please login to see this link.

  • The only thing that doesn't seem to work with SDL object is to make my xbox controler vibrate on Android... (but ot works on Windows)

    Obvious question, but you did grant the VIBRATE permission? It might be needed.
    Oh, libSDL actually has an update for that for newer Android they released Please login to see this link.. What Android are you using?

    And yes, SDL Object is $5 for Android, $5 for Windows, etc ^^

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Nah, you buy via Please login to see this link. or Please login to see this link.. I normally send out the ext by Discord.
    Since people have different platform requirements it's gonna be annoying for them if I send out five platforms as five zips, so I don't have a set of premade links.

    If you're subbed on the patreon when an update comes out, you get the update, otherwise you keep the version you've got, and pay for a newer version later. Dev support is important!

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Hello,

    I have the gamesir x2 pro and I can confirm that it doesn't work with AndroidTV Controller and even Android object doesn't detect it. By the way, I tested this controller with a few games I have on my phone and some of them doesn't work with this gamepad (like Call of duty).

    Anyway, the only solution I found was to switch to SDL object (made by Phi, available on his patreon). This extension works with all the controllers I have (Gamesir, Xbox gamepad, etc.), is cross plateform (so I have the same code for windows and Android) and allows to use every buttons of the controller (AndroidTV Controller doesn't detect triggers)

    The only thing that doesn't seem to work with SDL object is to make my xbox controler vibrate on Android... (but ot works on Windows)

    I've switched to SDL but i have some issues like the navigation bar and Status bar always visible on Android... How did you solved this issue?

  • I've switched to SDL but i have some issues like the navigation bar and Status bar always visible on Android... How did you solved this issue?

    This was worked out in Discord DMs with Mr Dobermann and fixed - hopefully will release a new SDL version soon, currently uni assignments are annoying me.

    Darkwire Software Lead Programmer (C++ & C#)
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!