Update src/ui/ui.ts

Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
This commit is contained in:
Leo Kim 2024-09-11 09:48:54 +09:00 committed by GitHub
parent c8331d1225
commit 75629d4dd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -566,7 +566,7 @@ export default class UI extends Phaser.GameObjects.Container {
* getGamepadType - returns the type of gamepad being used
* inputMethod could be "keyboard" or "touch" or "gamepad"
* if inputMethod is "keyboard" or "touch", then the inputMethod is returned
* if inputMethod is "gamepad", then the gamepad type is returned it could be "xbox" or "duelshock"
* if inputMethod is "gamepad", then the gamepad type is returned it could be "xbox" or "dualshock"
* @returns gamepad type
*/
public getGamepadType(): string {