game_controller_type.h
Overview
Defines common enumeration types for the GameController module.
File to include: <GameControllerKit/game_controller_type.h>
Library: libohgame_controller.z.so
System capability: SystemCapability.Game.GameController
Since: 21
Related module: GameController
Summary
Types
| Name | Description |
|---|---|
| typedef enum GameController_ErrorCode GameController_ErrorCode | Defines error codes of the game controller. |
Enumeration
| Name | Description |
|---|---|
| GameController_ErrorCode { GAME_CONTROLLER_SUCCESS = 0, GAME_CONTROLLER_PARAM_ERROR = 401, GAME_CONTROLLER_MULTIMODAL_INPUT_ERROR = 32200001, GAME_CONTROLLER_NO_MEMORY = 32200002 } | Game controller error codes. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-game-device-event
openharmony 鸿蒙 capi-game-device
openharmony 鸿蒙 capi-game-pad-event