How to add onscreen button for AI translator?

Hi! I created my overlay with https://valent-in.github.io/retropad-editor Now I want to try AI translator. It needs button for bind. Help me please, how to add onscreen button for this function using retropad-editor? Or are there any other ways to use translator without physical gamepad?

1 Like

The AI service can be invoked with the value of ai_service. Since the editor does not list it, you can map some other value for the planned button and change it in the .cfg file directly.

Manually assigning hotkeys from overlay does not work, there are some RA issues open for that:

1 Like

Can you please explain it more detaily? Maybe some example?

Let’s suppose that you added the extra button for AI translation, and assigned it to “audio mute”.

When you export the result from the online retropad editor, there will be a .cfg file. It is a plain text file, that can be changed easily.

Edit the .cfg file after export. Look for a line that has “audio_mute”, example:

overlay0_desc12 = "audio_mute,0.60000,0.91852,rect,0.03958,0.04444"

Update it so that the assignment is ai_service. Change nothing else.

overlay0_desc12 = "ai_service,0.60000,0.91852,rect,0.03958,0.04444"

1 Like

Thanks a lot. One more question, is somewhere any list contains all possible text assignments for buttons?

Well, there is, but only in the source code.

Ok, i`ve tried ur advice, it works, thanks. And again, one more question. Is there a way to edit format of translator output? Now i have such format. It works, i can read it, but it looks… bruh. I want edit font-size and place of this output. Can I do it?