Ignore:
Timestamp:
Oct 9, 2001, 7:18:05 AM (24 years ago)
Author:
phaller
Message:

enabled low-level keyboard hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/winkeyboard.cpp

    r6806 r6972  
    1 /* $Id: winkeyboard.cpp,v 1.16 2001-09-25 00:05:27 phaller Exp $ */
     1/* $Id: winkeyboard.cpp,v 1.17 2001-10-09 05:18:05 phaller Exp $ */
    22/*
    33 * Win32 <-> PM key translation
     
    12081208               DWORD, dwExtraInfo)
    12091209{
    1210   dprintf(("not implemented.\n"));
     1210  INPUT i;
     1211 
     1212  // format input packet
     1213  i.type           = INPUT_KEYBOARD;
     1214  i.ki.wVk         = bVk;
     1215  i.ki.wScan       = bScan;
     1216  i.ki.dwFlags     = dwFlags;
     1217  i.ki.dwExtraInfo = dwExtraInfo;
     1218 
     1219  // forward to more modern API
     1220  SendInput(1, &i, sizeof(i) );
    12111221}
    12121222/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.