Changeset 2462 for trunk/src/dinput/oslibinput.cpp
- Timestamp:
- Jan 17, 2000, 6:18:38 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/dinput/oslibinput.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dinput/oslibinput.cpp
r2188 r2462 1 /* $Id: oslibinput.cpp,v 1. 3 1999-12-21 23:19:14 hughExp $ */1 /* $Id: oslibinput.cpp,v 1.4 2000-01-17 17:18:38 sandervl Exp $ */ 2 2 3 3 #define INCL_WIN … … 32 32 if(rc == TRUE && len==256) 33 33 { 34 KeyTranslatePMToWinBuf((BYTE *)&PMKeyState, (BYTE *)&ptr, len);35 for(int i=0;i<256;i++) {36 winkeybuf[i] &= 0x80; //only high bit37 }38 return TRUE;34 KeyTranslatePMToWinBuf((BYTE *)&PMKeyState[0], (BYTE *)ptr, len); 35 for(int i=0;i<256;i++) { 36 winkeybuf[i] &= 0x80; //only high bit 37 } 38 return TRUE; 39 39 } 40 40 return FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.
