Changeset 3631
- Timestamp:
- May 29, 2000, 11:30:17 PM (25 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
changelog (modified) (3 diffs)
-
src/dinput/dinput.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/changelog
r3627 r3631 1 /* $Id: changelog,v 1.96 4 2000-05-28 19:50:13 sandervlExp $ */1 /* $Id: changelog,v 1.965 2000-05-29 21:30:14 mike Exp $ */ 2 2 3 3 2000-05-28: Michal Necasek <mike@mendelu.cz> 4 - USER32: MapVirtualKeyA fix for game Commandos (not complete) 4 - DINPUT: Discard messages received multiple times. Fixes keyboard 5 in Fallout 1/2. 5 6 6 7 2000-05-28: Sander van Leeuwen <sandervl@xs4all.nl> 7 8 - SHELL32: Merged ShellExecuteA/W of latest Wine release (old version 8 9 did not return process handle) 9 - KERNEL32/USER32: 10 - KERNEL32/USER32: 10 11 Rewrote and cleaned up resource handling. FindResource(Ex) 11 12 now returns IMAGE_RESOURCE_DATA_ENTRY pointer. … … 58 59 FindResource(Ex)A/W: if resource not found, then try: 59 60 - resource with user default language 60 - resource with system default language 61 - resource with system default language 61 62 - first available resource (any language) 62 63 (TODO: Need to check what NT really does) … … 78 79 redrawing of toolbar window in mIRC32) in SetWindowPos & 79 80 ShowWindow 80 - KERNEL32: Partly implemented GetDiskFreeSpaceExA/W; need to add support 81 - KERNEL32: Partly implemented GetDiskFreeSpaceExA/W; need to add support 81 82 for 64 bits values! 82 83 -
trunk/src/dinput/dinput.cpp
r3502 r3631 1 /* $Id: dinput.cpp,v 1. 6 2000-05-09 18:58:40 sandervlExp $ */1 /* $Id: dinput.cpp,v 1.7 2000-05-29 21:30:17 mike Exp $ */ 2 2 /* DirectInput 3 3 * … … 626 626 SysKeyboardAImpl* This = (SysKeyboardAImpl*) current_keylock; 627 627 BYTE scan = (lParam >> 16) & 0xFF; 628 629 /* messages may arrive mustiple times; we need to check for duplicates */ 630 static HWND oldhwnd = NULL; 631 static UINT oldmsg = 0; 632 static WPARAM oldwParam = 0; 633 static LPARAM oldlParam = 0; 634 635 if ((hwnd == oldhwnd) && (msg == oldmsg) && (wParam == oldwParam) && (lParam == oldlParam)) { 636 // we already saw this message 637 return TRUE; 638 } 639 oldhwnd = hwnd; oldmsg = msg; oldwParam = wParam; oldlParam = lParam; 628 640 629 641 // fake a key up transition for typematic repeat
Note:
See TracChangeset
for help on using the changeset viewer.
