Hello, I was looking again and I’m curious about this.
Is there support for Android TV ?
Or maybe we have support for gamepads ? This could be the same case for Windows platforms, where we can use a gamepad.
We have examples for this ? I mean when using a gamepad the UI should also have UI navigation.
I only could find this.
Hi All, Struggled to find any examples of the gamepad features or much documentation. So now that I have figured it out I thought I would share some code to help you work with gamepads in your games. So I made a folder in my assets called...
Reading time: 1 mins 🕑
Likes: 4 ❤
From v3.6.2 CocosCreator support to receive Android device handle input events, and in v3.6.3 version improved support for switch handle.
My last doubt with the gamepad is.
What is the current layout used ?
I write in my script
private GamePadOnKeyDown(event: EventGamepad):void
{
let submitAction = event.gamepad.buttonSouth.getValue() == 1;
if(submitAction)
{
this.CurrentSelected.OnSubmit();
}
}
But south returns me the East.
In the documentation of the script
The control button in the south direction which is generally the button A
in my case it uses the left layout. I suppose it should be the right layout.
opened 12:19PM - 20 Feb 23 UTC
Doc
we need to add some mannual docs for the gamepad feature,
which is supported by… this PR: https://github.com/cocos/cocos-engine/pull/11278
You can add your detail request into this issue