mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Set transition state bit in WM_KEY messages
svn path=/trunk/; revision=12373
This commit is contained in:
parent
190c2b5fc1
commit
c8bcc7b2c8
1 changed files with 7 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: input.c,v 1.40 2004/12/12 17:56:52 weiden Exp $
|
||||
/* $Id: input.c,v 1.41 2004/12/28 08:49:06 gvg Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -324,6 +324,12 @@ KeyboardThreadMain(PVOID StartContext)
|
|||
/* Context mode. 1 if ALT if pressed while the key is pressed */
|
||||
lParam |= (1 << 29);
|
||||
}
|
||||
|
||||
if (! KeyEvent.bKeyDown)
|
||||
{
|
||||
/* Transition state. 1 for KEY_UP etc, 0 for KEY_DOWN */
|
||||
lParam |= (1 << 31);
|
||||
}
|
||||
|
||||
if (GetHotKey(InputWindowStation,
|
||||
fsModifiers,
|
||||
|
|
Loading…
Reference in a new issue