QABS - Attach Skill to Aloe Mobile UI (SOLVED)

Hi there!
I'm using QABS and i have made all configuration and so far is all ok.
But i'm trying to make this for android. In computer works fine.
But in android, i want to assign the use of an skill to a picture, with picture common events from yanfly.
Or with Aloe mobile ui through a javascript code.
More specifically the letter "a" that i'm using in keyboard to use a skill.

But the plugins for abs, in parameters, dont have script calls or a plugin command that can i assign to a picture to use the skill on android.
Anyone has a clue for that?

I have already try to put that in a common event or in a javascript code in aloe mobileui, but not work.


Code:
QInput.keys = {65};

any.push(QInput.keys[65])

this.isTriggered('#a' + any[i])

Also, in the Demo has this script call for a Event use a skill

Code:
var chara = this.character();
chara.useSkill(2);

But i have no idea if has a script call like this for the player.

I'm not sure if it's possible to emulate a keyboard key on android. But I think there might be a way pressing on the picture and the actor uses the skill. Either via script call or plugin command ... But I could not find it.


I have searched the code, but im not a programmer... but i think the answer might be in one of them.
I'm not su

QABS.JS - https://raw.githubusercontent.com/quxios/QMV-ABS-Demo/master/js/plugins/QABS.js

QINPUT - https://raw.githubusercontent.com/quxios/QMV-ABS-Demo/master/js/plugins/QInput.js
Should be straightforward with my mobile UI plugin, though I never tested with QInput, I wrote mine carefully so it would have a high chance of compatibility with other plugins.

For the button that you make on the screen, to have the virtual button the same as pressing the 'a' key of the keyboard, you would set the "Input Code" parameter to "a" (without the quotes, just plain a)

QInput seems to change the default Input class by adding a # to the front of each key. So if that doesn't work, try it with the "Input Code" parameter as "#a" (without the quotes)
Hi!
Thanks a lot!!!!😀
It works just putting "#a" with quotes!
W2GLuc3.png

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/qabs-attach-skill-to-aloe-mobile-ui-solved.104472/