Fix CodeForKeyboardEvent to properly calculate the scancode.
Current code just uses the key_event.nativeKeyCode which is copied from the Windows' lParam. The proper scancode needs to be shifted and masked out of the lParam (as is done for UsbKeyCodeForKeyboardEvent. BUG=325015 Review URL: https://codereview.chromium.org/100533003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238362 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment