Merge pull request #7024 from pandamicro/SpriteFrame_Ctor

Issue #5533: Add SpriteFrame's constructor
[ci skip]
Update values of KeyCode used in the Lua to fix related error
Update the KeyCodeTest in the NewEventDispatcherTest
Update the KeyCodeTest in the NewEventDispatcherTest
Update the KeyCodeTest in the NewEventDispatcherTest
Merge pull request #7033 from samuele3hu/v3_keypad_fix

Update values of KeyCode used in the Lua to fix related error