Merge pull request #9519 from andyque/addNewRequirements

refactor Button restrict capInsetSize logic and cleanup ui coding style
Synchronize the KeyCode Enum to Lua
Merge pull request #9531 from samuele3hu/v3_4_bug

Synchronize the KeyCode Enum to Lua