Ignore:
Timestamp:
Jul 15, 2001, 4:58:12 PM (24 years ago)
Author:
sandervl
Message:

Do not use imports not available in Warp 3's PMWINX (WaitForInputIdle & GetAsyncKeyState)

File:
1 edited

Legend:

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

    r6254 r6339  
    1 /* $Id: winkeyboard.cpp,v 1.13 2001-07-08 15:51:43 sandervl Exp $ */
     1/* $Id: winkeyboard.cpp,v 1.14 2001-07-15 14:58:12 sandervl Exp $ */
    22/*
    33 * Win32 <-> PM key translation
     
    1616#include <pmscan.h>
    1717#include <winuser32.h>
     18#include "initterm.h"
    1819
    1920#define DBG_LOCALLOG    DBG_winkeyboard
     
    943944{
    944945    dprintf2(("USER32: GetAsyncKeyState %x", nVirtKey));
    945     return O32_GetAsyncKeyState(nVirtKey);
     946    if(fVersionWarp3) {//Not present in Warp 3's PMWINX
     947          return O32_GetKeyState(nVirtKey);
     948    }
     949    else  return O32_GetAsyncKeyState(nVirtKey);
    946950}
    947951//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.