Merge pull request #7269 from minggo/fix-crash

Fix crash
Add missing file for game controller support.
Fix using incorrect library project.
update test case.
Merge pull request #7272 from Dhilan007/v3-gc0627

Add missing file for game controller support