Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER

Closes #7695
This commit is contained in:
Bojidar Marinov
2017-08-06 16:26:07 +03:00
parent 97e942dd42
commit 7b7c7c8dc0
18 changed files with 33 additions and 33 deletions

View File

@ -807,7 +807,7 @@ void OS_Windows::process_key_events() {
if ((ke.lParam & (1 << 24)) && (ke.wParam == VK_RETURN)) {
// Special case for Numpad Enter key
k->set_scancode(KEY_ENTER);
k->set_scancode(KEY_KP_ENTER);
} else {
k->set_scancode(KeyMappingWindows::get_keysym(ke.wParam));
}