mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 09:32:38 +08:00
6487e67b36
* export KeyCode * rename to SystemEvent.EventType remove legacy import update pal * systemEventType =value type, SystemEvent.EventType =enum type * support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event * add back Event.NO_TYPE * update pal/input interface * fix ci * Revert "support KEY_PRESS KEY_RELEASE, deprecate KEY_UP event" This reverts commit 623385e5f8e6c133f287753654b21a5bb7adafee. # Conflicts: # pal/input/minigame/keyboard.ts * remove KEY_PRESS event * remove legacy usage of macro.KEY * fix KeyCode spell