I forgot to update the VS2005 and Code::Blocks projects in last commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1418 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
76de05af61
commit
d1ba056b0f
4 changed files with 13 additions and 3 deletions
|
@ -674,7 +674,7 @@ Key::Code WindowImplWin32::VirtualKeyCodeToSF(WPARAM key, LPARAM flags)
|
|||
case VK_SHIFT :
|
||||
{
|
||||
static UINT lShift = MapVirtualKey(VK_LSHIFT, MAPVK_VK_TO_VSC);
|
||||
UINT scancode = (flags & (0xFF << 16)) >> 16;
|
||||
UINT scancode = static_cast<UINT>((flags & (0xFF << 16)) >> 16);
|
||||
return scancode == lShift ? Key::LShift : Key::RShift;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue