diff --git a/reactos/subsys/win32k/ntuser/input.c b/reactos/subsys/win32k/ntuser/input.c index 9e4f375b634..c294180244f 100644 --- a/reactos/subsys/win32k/ntuser/input.c +++ b/reactos/subsys/win32k/ntuser/input.c @@ -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,